• Hi,I get this php errors, I don’t know what can be wrong… Any idea? Thanks in advance

    Notice: Use of undefined constant SPU_PLUGIN_DIR – assumed ‘SPU_PLUGIN_DIR’ in wp-content/plugins/popups/popups.php on line 33 Notice: Use of undefined constant SPU_PLUGIN_URL – assumed ‘SPU_PLUGIN_URL’ in wp-content/plugins/popups/popups.php on line 34 Notice: Use of undefined constant SPU_PLUGIN_HOOK – assumed ‘SPU_PLUGIN_HOOK’ in wp-content/plugins/popups/popups.php on line 35 Notice: Use of undefined constant SPU_ADMIN_DIR – assumed ‘SPU_ADMIN_DIR’ in wp-content/plugins/popups/admin/class-social-popup-admin.php on line 13

    https://www.ads-software.com/plugins/popups/

Viewing 1 replies (of 1 total)
  • Plugin Author Damian

    (@timersys)

    Hi ! I had a type on the code. Please change lines 33 34 adn 35 for the following:

    define( 'SPU_PLUGIN_DIR' , plugin_dir_path(__FILE__) );
    define( 'SPU_PLUGIN_URL' , plugin_dir_url(__FILE__) );
    define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP errors’ is closed to new replies.