Problem with Joomla in switching from PHP 7.0 to PHP 7.2

francesco.scaramella
1 Posts
francesco.scaramella posted this 08 September 2018

I think I have a problem with your templates. On all My sites made with Joomla and where I use themler regularly, how much I try to change PHP version from 7.0 to 7.2, to keep me updated the site to the latest developments, comes out the message: Templates/meteo_j3_1_171122/library/Designer/Content/ Singlearticle. PHP on line 198

What should I do???

I think I have a problem with your templates. On all My sites made with Joomla and where I use themler regularly, how much I try to change PHP version from 7.0 to 7.2, to keep me updated the site to the latest developments, comes out the message: Templates/meteo_j3_1_171122/library/Designer/Content/ Singlearticle. PHP on line 198 What should I do???
Vote to pay developers attention to this features or issue.
6 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 24 December 2018

Hello,

I apologize for the delay.

The issue should not happen if you use latest themler version.
If you can't update your theme to latest version, please, create separate tickets and provide access to your site.

You canalso check the file /templates/[your template name]/library/Designer/Content/SingleArticle.php, scroll down to funciton on line 196 (to line 213) and check that it corresponds to this code:

 *public function proccessingContent($content) {
        $plugin = JPluginHelper::getPlugin('content', 'pagebreak');
        if (is_object($plugin) || (is_array($plugin) && count($plugin) > 0)) {
            $params = new JRegistry($plugin->params);
            switch($params->get('style')) {
                case 'sliders':
                    $content = $this->buildSliders($content);
                    break;
                case 'tabs':
                    $content = preg_replace_callback('|<dl\b[^>]*>[\s\S]*</dl>|', array( &$this, 'buildTabs'), $content);
                    break;
                default:
                    $content = $this->buildPages($content);
                    break;
            }
        }
        return $content;
    }*

Gina
Themler Support

Hello, I apologize for the delay. The issue should not happen if you use latest themler version. If you can't update your theme to latest version, please, create separate tickets and provide access to your site. You canalso check the file */templates/[your template name]/library/Designer/Content/SingleArticle.php*, scroll down to funciton on line 196 (to line 213) and check that it corresponds to this code: *public function proccessingContent($content) { $plugin = JPluginHelper::getPlugin('content', 'pagebreak'); if (is_object($plugin) || (is_array($plugin) && count($plugin) > 0)) { $params = new JRegistry($plugin->params); switch($params->get('style')) { case 'sliders': $content = $this->buildSliders($content); break; case 'tabs': $content = preg_replace_callback('|<dl\b[^>]*>[\s\S]*</dl>|', array( &$this, 'buildTabs'), $content); break; default: $content = $this->buildPages($content); break; } } return $content; }* Gina Themler Support
margaret
8 Posts
margaret posted this 06 November 2018

HI,
Any fix for this. I am also getting this error after updating to the latest Joomla and PHP
Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxxxx/public_html/templates/xxxxxxxxxxxx/library/Designer/Content/SingleArticle.php on line 198

Thanks

HI, Any fix for this. I am also getting this error after updating to the latest Joomla and PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxxxx/public_html/templates/xxxxxxxxxxxx/library/Designer/Content/SingleArticle.php on line 198 Thanks
Support Team
Support Team posted this 14 September 2018

Hi Mike,

Please create a new private support ticket and provide us with all necessary details there so that we could try to help you.

Thanks,
Ivan

Hi Mike, Please create a new private support ticket and provide us with all necessary details there so that we could try to help you. Thanks, Ivan
Support Team
Support Team posted this 13 September 2018

Hi Pierre,

Please create a new private support ticket and provide us with all necessary details there so that we could try to help you.

Thanks,
Ivan

Hi Pierre, Please create a new private support ticket and provide us with all necessary details there so that we could try to help you. Thanks, Ivan
Pierre665
10 Posts
Pierre665 posted this 12 September 2018

Hello,

I'm having the same problem since I switched from php7 to php7.2.

Below are the errors that appear in Error Reporting> Development.

Deprecated: Function create_function() is deprecated in
.../www/plugins/content/themlercontent/lib/Shortcodes.php on line 2035

Deprecated: Function create_function() is deprecated in
.../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1704

Deprecated: Function create_function() is deprecated in
.../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1732

Deprecated: Function create_function() is deprecated in
.../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1704

Deprecated: Function create_function() is deprecated in
.../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1732

Warning: count(): Parameter must be an array or an object that implements Countable in .../www/templates/juillet2016/library/Designer/Content/SingleArticle.php on line 198

I can not edit my template either (screenshot attached)

Looking forward to your answer.

Have a good day,

Pierre

Hello, I'm having the same problem since I switched from php7 to php7.2. **Below are the errors that appear in Error Reporting> Development.** Deprecated: Function create_function() is deprecated in .../www/plugins/content/themlercontent/lib/Shortcodes.php on line 2035 Deprecated: Function create_function() is deprecated in .../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1704 Deprecated: Function create_function() is deprecated in .../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1732 Deprecated: Function create_function() is deprecated in .../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1704 Deprecated: Function create_function() is deprecated in .../www/plugins/content/themlercontent/lib/Shortcodes.php on line 1732 Warning: count(): Parameter must be an array or an object that implements Countable in .../www/templates/juillet2016/library/Designer/Content/SingleArticle.php on line 198 **I can not edit my template either (screenshot attached)** Looking forward to your answer. Have a good day, Pierre

Last edited 12 September 2018 by Pierre665

linuxoid
9 Posts
linuxoid posted this 08 September 2018

Аналогично
PHP Version 7.2.3
Joomla! 3.8.12 Stable
library/Designer/Content/SingleArticle.php on line 198

Аналогично PHP Version 7.2.3 Joomla! 3.8.12 Stable library/Designer/Content/SingleArticle.php on line 198
You must log in or register to leave comments