WordPress 4.3 compatibility warning
-
Hi,
WordPress 4.3 got released yesterday and there is a problem with your plugin. The following notice is shown:
Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use __construct() ...
Could you please fix this as soon as possible, we would really appreciate it.
Thanks!
-
Until solved by the author you can replace
$this->WP_Widget
with
parent::__construct
on line 14 in the file
/shortcodes-ultimate/inc/core/widget.php
Hi,
I know, but I don’t need the fix for my own site, I need it for our theme clients that use this plugin.
I’ve just opened this issue, to remind them to update the plugin…
Take care!
yes, please fix this problems on next update, I’ve replaced the code using parent:: _ construct, but error still occurs… no errors found with my other plugins and I am sure the problem exists on the ultimate shortcode plugin… 🙂
I had the same problem with several plugins&themes, Ultimate SC
also contributed…I found the same solution as Kees de Bruin above.
It works!For this plugin & others…
I was getting the following error randomly, when using the site, after updating to WordPress 4.3:
Warning: require_once(inc/vendor/sunrise.php): failed to open stream: No such file or directory in /public_html/wp-content/plugins/shortcodes-ultimate-master/shortcodes-ultimate.php on line 20
Fatal error: require_once(): Failed opening required ‘inc/vendor/sunrise.php’ (include_path=”) in /public_html/wp-content/plugins/shortcodes-ultimate-master/shortcodes-ultimate.php on line 20
I think I may have found a temporary solution to the problem which is setting the PHP Memory Limit in php.ini to 2047M (Previously had it set to 1024M). It seems to have stopped the error for now.
It was working fine before updating WordPress to 4.3 so I guess for some reason, Shortcodes Ultimate, WordPress itself, or both, are using more memory as of WordPress version 4.3
Just thought I would share this in case anyone else was having the same issue 😉
It’s funny that the plugin says it’s compatible up to version 5.0
Kees de Bruin fix solved my problem temporarily.
- The topic ‘WordPress 4.3 compatibility warning’ is closed to new replies.