I was troubleshooting another issue in wp_debug and got these when activating the plugin. FYI
Notice: Use of undefined constant WIDGETS_RELOADED_DIR - assumed 'WIDGETS_RELOADED_DIR' in siteurl\wp-content\plugins\widgets-reloaded\widgets-reloaded.php on line 39
Notice: Use of undefined constant WIDGETS_RELOADED_URL - assumed 'WIDGETS_RELOADED_URL' in siteurl\wp-content\plugins\widgets-reloaded\widgets-reloaded.php on line 42
http://wordpress.org/extend/plugins/widgets-reloaded/
dragunoff
Member
Posted 8 months ago #
Hi,
That's just a PHP notice - it won't break anything, but it is annoying. To fix it simply add quotes around WIDGETS_RELOADED_DIR on lines 39 and 42, here's an excerpt:
/* Set constant path to the members plugin directory. */
define( 'WIDGETS_RELOADED_DIR', plugin_dir_path( __FILE__ ) );
/* Set constant path to the members plugin directory. */
define( 'WIDGETS_RELOADED_URL', plugin_dir_url( __FILE__ ) );
Cheers!
Hi dragunoff
Yes, I did realize that it was just a notice, and would not affect anything. I just wanted the dev to know about it so that it can be corrected in a future release.
Thanks