Since installing this plugin the load time on my site has

Hi,

Since installing this plugin the load time on my site has become very slow. I am using P3 profiler and it is currently saying that Pop Up Pro is accounting for 70% of the load time, and that it is taking 38 seconds.

I am using the plugin on a multi site installation to redirect visitors to a subdirectory site based on geolocation. The back end is also running extremely slowly now too.

Please help!

Thanks,

Neil

  • Kasia Swiderska

    Hello Neil,

    P3 Profiler can sometimes show not very accurate results - did you tried disable PopUp Pro to see if this makes any difference with the site speed?

    Could you grant support access to your site, so I could take a look? You can grant support access via WPMU DEV > Support > Support Access > Grant Access.

    Also, please enable debug mode in WordPress. To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

    define('WP_DEBUG', true);

    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( 'WP_DEBUG_LOG', true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( 'WP_DEBUG_DISPLAY', false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

    Kind regards,
    Kasia

  • Neil

    Hi Kasia,

    Thankl you for your help, I did as you suggested and activated the debug log, It appears that the popup is causing the following errors. Please can you have a read and let me know your thoughts?

    INSERT INTO wp_popover_ip_cache (IP, country, cached)
    VALUES ('98.252.198.28', 'US', '1447258073')
    made by require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, call_user_func_array, IncPopup->init_public, IncPopup->load_method_footer, IncPopupBase->select_popup, IncPopupBase->find_popups, apply_filters('popup-apply-rules'), call_user_func_array, IncPopupRules::_apply, IncPopupRule->_apply, IncPopupRule_Geo->apply_country, IncPopupRule_Geo->test_country, IncPopupRule_Geo->get_user_country, IncPopupDatabase::add_ip
    [11-Nov-2015 16:07:57] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3406
    [11-Nov-2015 16:07:58] WordPress database error Duplicate entry '98.252.198.2' for key 'PRIMARY' for query
    INSERT INTO wp_popover_ip_cache (IP, country, cached)
    VALUES ('98.252.198.28', 'US', '1447258078')
    made by require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, call_user_func_array, IncPopup->init_public, IncPopup->load_method_footer, IncPopupBase->select_popup, IncPopupBase->find_popups, apply_filters('popup-apply-rules'), call_user_func_array, IncPopupRules::_apply, IncPopupRule->_apply, IncPopupRule_Geo->apply_no_country, IncPopupRule_Geo->test_country, IncPopupRule_Geo->get_user_country, IncPopupDatabase::add_ip
    [11-Nov-2015 16:07:58] PHP Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3622
    [11-Nov-2015 16:07:58] PHP Notice: wp_deregister_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3622
    [11-Nov-2015 16:07:59] WordPress database error Duplicate entry '141.135.138.' for key 'PRIMARY' for query
    INSERT INTO wp_popover_ip_cache (IP, country, cached)
    VALUES ('141.135.138.79', 'US', '1447258079')
    made by require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, call_user_func_array, IncPopup->init_public, IncPopup->load_method_footer, IncPopupBase->select_popup, IncPopupBase->find_popups, apply_filters('popup-apply-rules'), call_user_func_array, IncPopupRules::_apply, IncPopupRule->_apply, IncPopupRule_Geo->apply_no_country, IncPopupRule_Geo->test_country, IncPopupRule_Geo->get_user_country, IncPopupDatabase::add_ip
    [11-Nov-2015 16:08:01] PHP Notice: Undefined index: pagenow in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/link-template.php on line 2742
    [11-Nov-2015 16:08:01] PHP Notice: get_current_theme is deprecated since version 3.4! Use wp_get_theme() instead. in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3406
    [11-Nov-2015 16:08:01] PHP Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3622
    [11-Nov-2015 16:08:01] PHP Notice: wp_deregister_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/friendshipcollar.com/httpdocs/wp-includes/functions.php on line 3622

    Thanks,

    Neil

  • Rupok

    Hi Neil

    I hope you had a wonderful day.

    I just ran couple of tests on your site and it loaded within a very short time. Please see the attached screenshot for reference.

    As this is throwing error in the debug log and related with core level coding, I'm flagging our developer to have a look on this issue.

    Please note that our developers work round the clock and have to deal with lots of critical issues. So it may take a while before they give us any solution.

    Have a nice day. Cheers!
    Rupok

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.