• Hello, recently I couldn’t log in and I was getting lots of log in errors. I changed the theme to a completely new one and now I still can’t log in. Here are the errors. Someone please help me.

    Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3553
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php:3553) in /home/mohammed/public_html/maxvideogaming.com/wp-content/plugins/w3-total-cache/lib/W3/Referrer.php on line 47
    
    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 init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3587
    
    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3587
    
    Notice: Constant TEMPLATEPATH already defined in /home/mohammed/public_html/maxvideogaming.com/wp-config.php on line 108
    
    Notice: Constant ADMIN_COOKIE_PATH already defined in /home/mohammed/public_html/maxvideogaming.com/wp-config.php on line 111
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php:3553) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/pluggable.php on line 866
Viewing 8 replies - 1 through 8 (of 8 total)
  • I would change the theme to Twenty Ten or Twenty eleven. Those themes are coded properly and should allow you to login.

    If there’s still error, you should manually re-install wordPress.

    Thread Starter AD7863

    (@ad7863)

    Here’s the problem, Christine.

    When I change to the TwentyEleven theme, everything is fine and dandy.

    However, I want to use a different theme, I’ve tried two different themes that I want to use.

    Both throw up these errors.

    Is there any way someone can help me find the root of these errors and tell me how to fix them?

    Thanks.

    If everything is working fine with TwentyTen, that means these new themes are badly coded.
    What you need to do is fix them or find one that works.

    If you’ve purchased them, I would contact the theme developer.

    And where did you get these themes from?

    Thread Starter AD7863

    (@ad7863)

    The Internet.

    Yes – we kinda figured that. Where specifically?

    Thread Starter AD7863

    (@ad7863)

    OK, I’ve changed the theme again to a very popular theme which I’m very sure is made correctly and I’m still having problems. Here are the errors:

    Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3553
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php:3553) in /home/mohammed/public_html/maxvideogaming.com/wp-content/plugins/w3-total-cache/lib/W3/Referrer.php on line 47
    
    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 init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3587
    
    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php on line 3587
    
    Notice: Constant TEMPLATEPATH already defined in /home/mohammed/public_html/maxvideogaming.com/wp-config.php on line 108
    
    Notice: Constant ADMIN_COOKIE_PATH already defined in /home/mohammed/public_html/maxvideogaming.com/wp-config.php on line 111
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mohammed/public_html/maxvideogaming.com/wp-includes/functions.php:3553) in /home/mohammed/public_html/maxvideogaming.com/wp-includes/pluggable.php on line 866

    I’m starting to think it’s a problem with the W3 Total Cache plugin.

    Thread Starter AD7863

    (@ad7863)

    Hello, I’m just replying to say that I’ve finally managed to fix this problem.

    I was forcing www. before my domain name and I just changed it to non-www in my wp-config file and bam!

    Everything started working flawlessly after that.

    Before:

    define('WP_HOME','http://www.maxvideogaming.com');
    define('WP_SITEURL','http://www.maxvideogaming.com');

    After:

    define('WP_HOME','http://maxvideogaming.com');
    define('WP_SITEURL','http://maxvideogaming.com');

    Hope this helps anyone who has this problem in the future. 😉

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Log in errors’ is closed to new replies.