• Resolved getupworks

    (@getupworks)


    from time to time the wp admin as well as the frontend will load for ~30-60secs and in the end this message will show up on the dashboard:

    NinjaFirewall fatal error: Cannot retrieve user rules from database (#2). Review your installation, your site is not protected.

    on the next load everything will work fine again. this is rather confusing…

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Does it happen even when NinjaFirewall is disabled?
    It looks to me that you’re having issues with your database (bottleneck?).
    Try to put WordPress is debugging mode:
    1. Edit your wp-config.php
    2. Search for:
    define('WP_DEBUG', false);
    3. Replace with:
    define('WP_DEBUG', true);
    4. Add this line below:
    define( 'WP_DEBUG_LOG', true );

    The log (if any) will be located in “/wp-content/debug.log”.

    Thread Starter getupworks

    (@getupworks)

    did this and the logfile looks good. as the problem didn’t occur again it was probably hosting-related. sorry for bothering you.

    Thread Starter getupworks

    (@getupworks)

    @nintechnet ok so after this happened again for a few times, i made contact with my provider. they referred to this article and said, sth like the firwall opens a connection for every plugin etc and it can occur that there’s too many connections. which apparently they can’t change. basically they recommended to switch to another firewall plugin. i’m a bit lost tbh

    Plugin Author nintechnet

    (@nintechnet)

    I really don’t know what they mean about “opens a connection for every plugin”.

    Enable debugging in WordPress:
    1. Edit your wp-config.php
    2. Search for:
    define('WP_DEBUG', false);
    3. Replace with:
    define('WP_DEBUG', true);
    4. Add this line below:
    define( 'WP_DEBUG_LOG', true );

    The log (if any) will be located in “/wp-content/debug.log”.
    It may display the reason why you’re having issues.

    After debugging, undo the above modifications.

    Thread Starter getupworks

    (@getupworks)

    i did that. the log contains an undefined variable and 2 google maps scripts are called in an incorrect way. those things keep appearing in the log all the time.
    when the problem i described happens, nothing else is logged

    Plugin Author nintechnet

    (@nintechnet)

    Could you ask your host to give more detail about the issue, i.e. about their “opens a connection for every plugin” response?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘random endless loading and error message’ is closed to new replies.