Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • The same warning here, which caused a serious problem: the customization of the OceanWP theme wouldn’t open. Had to disable the plugin in order to get the customization working again.

    Don’t know why, but the plugin was messing with some JS code. The warning was being written in the middle of javascript code generated by the file wp-admin/customize.php, causing it to become incorrect.

    Forum: Plugins
    In reply to: [WooCommerce] Fatal Error

    I get the same error.
    This is the complete stack trace:

    Fatal error: Uncaught Error: Call to undefined method League\Container\Definition\Definition::withArgument() in /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/classes/ServiceProvider/class-options.php:37 Stack trace: #0 /home/pjmatos/public_html/proal.pt/wp-content/plugins/woocommerce/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(101): WP_Rocket\ServiceProvider\Options->register() #1 /home/pjmatos/public_html/proal.pt/wp-content/plugins/woocommerce/vendor/league/container/src/Container.php(172): League\Container\ServiceProvider\ServiceProviderAggregate->register('options') #2 /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/Plugin.php(100): League\Container\Container->get('options') #3 /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/main.php(48): WP_Rocket\Plugin->load() #4 /home/pjmatos/public_html/proal.pt/wp-includes/class-wp-hook.php(287): rocket_init('') #5 /home/pjmatos/public_html/proal.pt/wp-includes/class-wp-hook.php(311): WP_H in /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/classes/ServiceProvider/class-options.php on line 37

    This is the error I get:

    Fatal error: Uncaught Error: Call to undefined method League\Container\Definition\Definition::withArgument() in /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/classes/ServiceProvider/class-options.php:37 Stack trace: #0 /home/pjmatos/public_html/proal.pt/wp-content/plugins/woocommerce/vendor/league/container/src/ServiceProvider/ServiceProviderAggregate.php(101): WP_Rocket\ServiceProvider\Options->register() #1 /home/pjmatos/public_html/proal.pt/wp-content/plugins/woocommerce/vendor/league/container/src/Container.php(172): League\Container\ServiceProvider\ServiceProviderAggregate->register('options') #2 /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/Plugin.php(100): League\Container\Container->get('options') #3 /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/main.php(48): WP_Rocket\Plugin->load() #4 /home/pjmatos/public_html/proal.pt/wp-includes/class-wp-hook.php(287): rocket_init('') #5 /home/pjmatos/public_html/proal.pt/wp-includes/class-wp-hook.php(311): WP_H in /home/pjmatos/public_html/proal.pt/wp-content/plugins/wp-rocket/inc/classes/ServiceProvider/class-options.php on line 37

    Working okay now, without any JS errors.

    Thanks for the fast fix!

    Hi,

    I am having the same problem here:
    http://www.livrodeelogios.com/aqui-ja-pode-elogiar/

    The JS error is:
    Cannot use 'in' operator to search for 'length' in

    Is this is happening because jQuery 1.11.3 is now being used?

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