jdcharlton
Forum Replies Created
-
It depends on your operating system and/or web server. I am able to use ssh on my web server and it is running Linux so I go to the themes directory under wp-content and do a command line search as follows:
find . -type f -exec grep WP_Widget \{\} \; -print;
This will only work in Linux/Unix. If you use Windows and have access to the web server you can use the windows file content search to find “WP_Widget” in the above mentioned directory.
The error is not at line 3457 that is just where the deprecated warning is displayed. The place to change WP_Widget() to __construct() is in your theme or plugin. I found mine in :
wordpress/wp-content/themes/thematic/library/extentions/widgets.phpbut it will depend on where the WP_Widget object is located in your php code.
I ran into this error with a thematic child theme I am working on. The fix for thematic is to go to thematic/library/extentions/widgets.php and change the call to the WP_Widget() constructor to __construct().