WP_Widget error after downloading v4.3.0!
-
I got this message:
The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()when I downloaded the latest version. I tried deactivating all of my plugins and it still didn’t go away.
Please help! I am so illiterate when it comes to this type of stuff. Argh it’s so frustrating!
-
I tried deactivating all of my plugins and it still didn’t go away.
Which theme are you using?
It’s the Mani theme by Ilgelo
https://creativemarket.com/IlgeloDesign/257751-Mani-MultiPurpose-Wordpress-Blog
Gotcha. When you deactivated your plugins that indicated it was a theme problem.
Can you do some more troubleshooting just to confirm? Can you please switch to the Twenty Fifteen theme? It’s a temporary step and it will confirm that the Mani theme is the culprit or not.
Also what version are you running? It looks like version 1.0.5 of that theme was released not that long ago on 7-28-2015.
Thanks for your responses and help! I’m using the latest version of the Mani theme.
If I switch to the Twenty Fifteen theme will I lose all of my custom settings on Mani?
If I switch to the Twenty Fifteen theme will I lose all of my custom settings on Mani?
No. The only thing that will change is the layout/design of your site.
Ok, yep, that made those error messages go away. So that’s good at least!
But does this mean that I can’t use that theme anymore?
Thanks!
For now. ;(
That’s a commercial theme and we don’t support those here. We don’t have access to the code (nor want access to be honest). Can you contact the theme author directly and let us know how it goes?
The reason I’d like to know how it goes is because the fix may help others in the same boat.
Ah, ok. Thanks so much for all your help. It’s really appreciated.
I’m messaging them now. I’ll let you know the outcome.
Just wondering (as I’m new to all of this), what themes do you support here?
The themes that are supported are https://ww.wp.xz.cn/themes
I just had a BRAIN MOMENT: do you know if WP_DEBUG is turned on in your
wp-config.phpfile?Forgive my ignorance, but how would I determine if that was turned on?
I located that file via FileZilla FTP but I don’t know what to do from there…
Open the file in a text editor and look for
define( 'WP_DEBUG' true );Odds are it may exists. That’s part of the reason you may be getting the error message. 🙂
Wait, I found it. This is what it says about WP_DEBUG:
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_DISPLAY’, true);
define(‘WP_DEBUG_LOG’, true);HA! Ahem.
I mean, can you carefully change the
trueon those lines tofalse? Make a backup copy first just in case.
The topic ‘WP_Widget error after downloading v4.3.0!’ is closed to new replies.