• Resolved WebEndev

    (@munman)


    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

    https://www.ads-software.com/extend/plugins/widgets-reloaded/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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!

    Thread Starter WebEndev

    (@munman)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Widgets Reloaded] WP_DEBUG errors – undefined constant’ is closed to new replies.