Chrome problems - by Cubestore - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Robert Hall

  • Avatar: Cubestore
    Cubestore
    Participant
    February 25, 2015 at 17:42

    I this Error in Chrome but not in safari or the other browsers.
    And the footer is gone in chrome but not in safari.

    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 /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php on line 3547 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.) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php on line 3547 Notice: Undefined index: cat_columns in /customers/4/5/a/cubestore.no/httpd.www/wp-content/plugins/product-showcase-by-categories-lite/class-psbc-front.php on line 107

    6 Answers
    Avatar: Cubestore
    Cubestore
    Participant
    February 25, 2015 at 18:03

    And now when I tried to login I got this errors:

    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 /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php on line 3547 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.) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php on line 3547 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-login.php on line 424 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-login.php on line 437 Notice: wp_woocommerce_session_c5533eeafa153926b67069a3da0132f7 cookie cannot be set – headers already sent by /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php on line 3547 in /customers/4/5/a/cubestore.no/httpd.www/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 548 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 940 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 941 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 942 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 943 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 944 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 945 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 948 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 949 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 950 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 951 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 954 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 955 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 956 Warning: Cannot modify header information – headers already sent by (output started at /customers/4/5/a/cubestore.no/httpd.www/wp-includes/functions.php:3547) in /customers/4/5/a/cubestore.no/httpd.www/wp-includes/pluggable.php on line 957

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 25, 2015 at 18:50

    Hello,

    Could you please clarify with more details what last changes do you made?

    Regards,
    Robert Hall.

    Avatar: Cubestore
    Cubestore
    Participant
    February 25, 2015 at 18:59

    Yes- My page is too slow because the scripts are doble loading at my page. So I got this code and It should be added in the .htaccess-file:

    <strong><em>## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##</em></strong>

    And then the adminpanel is blocked. So i cant login with my user and password.
    I tired to remove the code from the .htaccess – file, but it didn’t work.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 25, 2015 at 19:55

    Hello,

    I’ve replece define('WP_DEBUG', true); to define('WP_DEBUG', false); in wp-config.php. Please check your site now.

    Regards,
    Robert Hall.

    Avatar: Cubestore
    Cubestore
    Participant
    February 25, 2015 at 20:07

    But Do you know why the page doble loading the CSS, JS files and blocking it?

    Google Pagespeed:

    Eliminate render-blocking JavaScript and CSS in above-the-fold content
    Your page has 34 blocking script resources and 29 blocking CSS resources. This causes a delay in rendering your page.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 25, 2015 at 20:13

    Try to disable third-party plugins, very likely one of them caused issue.
    Also check it with default WordPress theme.

    Regards,
    Robert Hall.

  • Viewing 7 results - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.