• Three months ago I had a problem with my Dutch website which would not load. https://www.moedertjegroen.nl

    This problem has came up again and I connot solve it.

    I am using the Nirvana theme.

    When I try to load my dutch site I get the following error.

    Notice: wp_enqueue_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 /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-includes/functions.php on line 3792

    I have replaced the functions.php file with a new copy which I downloaded from www.ads-software.com. This didn’t solve the problem.
    File can be found here:

    https://www.dropbox.com/s/xh7q8k8vcc47mve/functions.php?dl=0

    (By the way why are there 2 functions.php files? One is in my themes directory and the other, that is causing the problem is in the wp-includes directory.)

    I have tried to change the name of my themes folder using FTP but the site will not load the default twentysixteen theme.

    Tips and advice as to how to solve this problem would be greatly appreciated.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Stophond

    (@stophond)

    Update:

    Via FTP I have uploaded the theme again to my site.
    I cleared the browse cache and entered the URL of my site.
    All pages appeared to be in order ??

    However when I tried to log in I saw the white screen with the error message shown in my first post. after clearing my cache again I entered the site URL but only a white screen with the same error message appeared.

    I repeated this process to check this behavior and the same thing happened.

    Any info or tips woulld be greatly appreciated.

    Try this way.

    1. Get backup using FTP or Cpanel both file and DB (Its important)
    2. Remove all plugin folders in wp-content/plugins/
    3. Then try to login, Once its working you can install plugin one by one so you can find out the plaugin which is have bugs

    90% sure this file (function.pnp) not have bug

    Thread Starter Stophond

    (@stophond)

    Have renamed my Plugins directory deactivated.plugins

    Still cannot log in.

    Now I get a white screen with this message:

    Warning: include_once(/mnt/webw/a2/46/56888846/htdocs/www.moedertjegroen.nl/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-content/advanced-cache.php on line 20 Warning: include_once(): Failed opening ‘/mnt/webw/a2/46/56888846/htdocs/www.moedertjegroen.nl/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ for inclusion (include_path=’.:/opt/RZphp70/includes’) in /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-content/advanced-cache.php on line 20 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-content/advanced-cache.php:20) in /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-includes/pluggable.php on line 1228

    Yes, I can see that

    Just try to restore only /plugins/wp-super-cache folder

    Thread Starter Stophond

    (@stophond)

    Does not work!

    Notice: wp_enqueue_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 /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-includes/functions.php on line 3792 Warning: Cannot modify header information – headers already sent by (output started at /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-includes/functions.php:3792) in /mnt/web014/b0/46/56888846/htdocs/www.moedertjegroen.nl/wp-includes/pluggable.php on line 1228

    Thread Starter Stophond

    (@stophond)

    Can you tell me what line 3792 means and does?

    See file:

    https://www.dropbox.com/s/xh7q8k8vcc47mve/functions.php?dl=0

    No its not a bug.

    Can you seen errorlog file on your base folder

    Hey

    Remove www in front of your url https://moedertjegroen.nl/

    Its working and go to your admin page and update permalink settings

    Thread Starter Stophond

    (@stophond)

    Where exactly should I find the errorlog file?

    public_html folder you can access using FTP or CPanel

    Thread Starter Stophond

    (@stophond)

    Thanks for your help. I restored the site from my ISP server backup! Now All is ok again. Will watch out when updating the plugins in the future.

    Great Cheers ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Website willl not load and I cannot login – again’ is closed to new replies.