• Resolved sammiewong

    (@sammiewong)


    Hello folks,

    I just login wordpress today and cannot do anything but only see these in following : (Is it because WordPress auto update the version?) and how can i fix it?

    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.0.) in /home/selected/public_html/wp-includes/functions.php on line 4140

    Warning: Cannot modify header information – headers already sent by (output started at /home/selected/public_html/wp-includes/functions.php:4140) in /home/selected/public_html/wp-includes/option.php on line 837

    Warning: Cannot modify header information – headers already sent by (output started at /home/selected/public_html/wp-includes/functions.php:4140) in /home/selected/public_html/wp-includes/option.php on line 838

    Fatal error: Call to a member function get_weekday() on null in /home/selected/public_html/wp-content/plugins/updraftplus/admin.php on line 619

    • This topic was modified 6 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress as this is not a Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sammiewong

    (@sammiewong)

    I tried to open the website and it appeared these error as below :

    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.0.) in /home/selected/public_html/wp-includes/functions.php on line 4140

    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 login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/selected/public_html/wp-includes/functions.php on line 4140

    Notice: Use of undefined constant STYLESHEETPATH – assumed ‘STYLESHEETPATH’ in /home/selected/public_html/wp-includes/template.php on line 634

    Notice: Use of undefined constant TEMPLATEPATH – assumed ‘TEMPLATEPATH’ in /home/selected/public_html/wp-includes/template.php on line 637

    Notice: Use of undefined constant STYLESHEETPATH – assumed ‘STYLESHEETPATH’ in /home/selected/public_html/wp-includes/template.php on line 634

    Notice: Use of undefined constant TEMPLATEPATH – assumed ‘TEMPLATEPATH’ in /home/selected/public_html/wp-includes/template.php on line 637

    Notice: Use of undefined constant STYLESHEETPATH – assumed ‘STYLESHEETPATH’ in /home/selected/public_html/wp-includes/template.php on line 634

    Notice: Use of undefined constant TEMPLATEPATH – assumed ‘TEMPLATEPATH’ in /home/selected/public_html/wp-includes/template.php on line 637

    Notice: Use of undefined constant STYLESHEETPATH – assumed ‘STYLESHEETPATH’ in /home/selected/public_html/wp-includes/template.php on line 634

    Notice: Use of undefined constant TEMPLATEPATH – assumed ‘TEMPLATEPATH’ in /home/selected/public_html/wp-includes/template.php on line 637

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please do not create duplicate topics. I’ve archived your latest one and moved this out of Developing with WordPress because it’s not that sort of topic.

    Give this a read, it can assist you.

    https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Debugging 4140 in wordpress’ is closed to new replies.