• Resolved palealejandro

    (@palealejandro)


    I have been using this plugin, with zero issues, for over a year. Lately, I noticed I was unable to access the WooCommerce Orders and Settings pages. After troubleshooting, I noticed that when I deactivate the Flex Shipping plugin, all my issues go away. Not sure if this has something to do with the latest WooCommerce update, but it is a problem.

    Thanks, Jason

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author grola

    (@grola)

    Hi,

    check the browser console for the error. If there are any errors, paste them here.

    Best regards
    Grzegorz

    Thread Starter palealejandro

    (@palealejandro)

    SessionStore: The session file is invalid: TypeError: state is null SessionStore.jsm:938:19
    initSession resource:///modules/sessionstore/SessionStore.jsm:938
    onBeforeBrowserWindowShown resource:///modules/sessionstore/SessionStore.jsm:1855

    Plugin Support lusp

    (@lusp)

    Hi @palealejandro,

    I’m afraid that the error from the browser’s console you have pasted above has nothing to do with the issue you have encountered. Could you please check if there are any errors saved in the WooCommerce logs at WooCommerce → Status → Logs with the date close to the one when the problem started to occur?

    Kind regards,
    Luke

    I faced the same problem. With the plugin active, I got a 504 error in the browser, but there are not information about the error.

    This is happening loading Dashboard > WooCommerce > Settings page.

    In the WooCommerce > Status > Logs, I got the following entries:

    2022-08-27T16:06:50+00:00 CRITICAL Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /www/websitefolder/public/wp-content/themes/the-hanger/functions/wp/filters.php:135
    Stack trace:
    #0 /www/websitefolder/public/wp-content/themes/the-hanger/functions/wp/filters.php(135): implode(Array, ' ')
    #1 /www/websitefolder/public/wp-includes/class-wp-hook.php(307): wrap_embed_with_div('<iframe title="...', 'https://youtu.b...', Array, 82099)
    #2 /www/websitefolder/public/wp-includes/plugin.php(191): WP_Hook->apply_filters('<iframe title="...', Array)
    #3 /www/websitefolder/public/wp-includes/class-wp-embed.php(288): apply_filters('embed_oembed_ht...', '<iframe title="...', 'https://youtu.b...', Array, 82099)
    #4 /www/websitefolder/public/wp-includes/shortcodes.php(356): WP_Embed->shortcode(Array, 'https://youtu.b...', 'embed')
    #5 [internal function]: do_shortcode_tag(Array)
    #6 /www/websitefolder/public/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(embed)...', 'do_shortcode_ta...', '[embed width="5...')
    #7 /www/websitefolder/public/wp-includes/class-wp-embed.php(71): do_shortcode('[embed width="5...', true)
    #8 /www/websitefolder/public/wp-content/plugins/js_composer/include/templates/shortcodes/vc_video.php(36): WP_Embed->run_shortcode('[embed width="5...')
    #9 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('/www/websitefolder...')
    #10 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(424): WPBakeryShortCode->loadTemplate(Array, '')
    #11 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(546): WPBakeryShortCode->content(Array, '')
    #12 /www/websitefolder/public/wp-content/plugins/js_composer/include/helpers/helpers.php(1323): WPBakeryShortCode->output(Array, '')
    #13 /www/websitefolder/public/wp-includes/shortcodes.php(356): vc_do_shortcode(Array, '', 'vc_video')
    #14 [internal function]: do_shortcode_tag(Array)
    #15 /www/websitefolder/public/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(vc_vid...', 'do_shortcode_ta...', '[vc_video link=...')
    #16 /www/websitefolder/public/wp-content/plugins/js_composer/include/helpers/helpers.php(246): do_shortcode('[vc_video link=...')
    #17 /www/websitefolder/public/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php(94): wpb_js_remove_wpautop('[vc_video link=...')
    #18 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('/www/websitefolder...')
    #19 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(424): WPBakeryShortCode->loadTemplate(Array, '[vc_video link=...')
    #20 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(546): WPBakeryShortCode->content(Array, '[vc_video link=...')
    #21 /www/websitefolder/public/wp-content/plugins/js_composer/include/helpers/helpers.php(1323): WPBakeryShortCode->output('', '[vc_video link=...')
    #22 /www/websitefolder/public/wp-includes/shortcodes.php(356): vc_do_shortcode('', '[vc_video link=...', 'vc_column')
    #23 [internal function]: do_shortcode_tag(Array)
    #24 /www/websitefolder/public/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(vc_col...', 'do_shortcode_ta...', '[vc_column][vc_...')
    #25 /www/websitefolder/public/wp-content/plugins/js_composer/include/helpers/helpers.php(246): do_shortcode('[vc_column][vc_...')
    #26 /www/websitefolder/public/wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php(156): wpb_js_remove_wpautop('[vc_column][vc_...')
    #27 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(451): require('/www/websitefolder...')
    #28 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column][vc_...')
    #29 /www/websitefolder/public/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(546): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column][vc_...')
    #30 /www/websitefolder/public/wp-content/plugins/js_composer/include/helpers/helpers.php(1323): WPBakeryShortCode->output('', '[vc_column][vc_...')
    #31 /www/websitefolder/public/wp-includes/shortcodes.php(356): vc_do_shortcode('', '[vc_column][vc_...', 'vc_row')
    #32 [internal function]: do_shortcode_tag(Array)
    #33 /www/websitefolder/public/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(vc_row...', 'do_shortcode_ta...', '<p>[vc_row][vc_...')
    #34 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/Shortcodes.php(136): do_shortcode('<p>[vc_row][vc_...')
    #35 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/Shortcodes.php(70): AIOSEO\Plugin\Common\Utils\Helpers->doShortcodesHelper('<p>[vc_row][vc_...', Array, 0)
    #36 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/WpContext.php(246): AIOSEO\Plugin\Common\Utils\Helpers->doShortcodes('<p>[vc_row][vc_...')
    #37 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/WpContext.php(223): AIOSEO\Plugin\Common\Utils\Helpers->theContent('<p>[vc_row][vc_...')
    #38 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Image.php(189): AIOSEO\Plugin\Common\Utils\Helpers->getPostContent(Object(WP_Post))
    #39 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Image.php(86): AIOSEO\Plugin\Common\Social\Image->getFirstImageInContent()
    #40 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Facebook.php(42): AIOSEO\Plugin\Common\Social\Image->getImage('facebook', 'content', Object(WP_Post))
    #41 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Output.php(61): AIOSEO\Plugin\Common\Social\Facebook->getImage()
    #42 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/social.php(16): AIOSEO\Plugin\Common\Social\Output->getFacebookMeta()
    #43 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(173): require('/www/websitefolder...')
    #44 /www/websitefolder/public/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(94): AIOSEO\Plugin\Common\Main\Head->output()
    #45 /www/websitefolder/public/wp-includes/class-wp-hook.php(307): AIOSEO\Plugin\Common\Main\Head->init('')
    #46 /www/websitefolder/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #47 /www/websitefolder/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #48 /www/websitefolder/public/wp-includes/general-template.php(3042): do_action('wp_head')
    #49 /www/websitefolder/public/wp-content/themes/the-hanger/header.php(12): wp_head()
    #50 /www/websitefolder/public/wp-includes/template.php(770): require_once('/www/websitefolder...')
    #51 /www/websitefolder/public/wp-includes/template.php(716): load_template('/www/websitefolder...', true, Array)
    #52 /www/websitefolder/public/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #53 /www/websitefolder/public/wp-content/themes/the-hanger/page.php(1): get_header()
    #54 /www/websitefolder/public/wp-includes/template-loader.php(106): include('/www/websitefolder...')
    #55 /www/websitefolder/public/wp-blog-header.php(19): require_once('/www/websitefolder...')
    #56 /www/websitefolder/public/index.php(17): require('/www/websitefolder...')
    #57 {main}
      thrown in /www/websitefolder/public/wp-content/themes/the-hanger/functions/wp/filters.php on line 135

    I’ve got the same problems. Admin pages: orders and settings are loading and don’t show anything.
    I tried roll back to version 4.13.2, 4.13.1, 4.13.0, 4.12.0 from newest and nothing changed

    I found that Flexible Shipping and WP Rocket in 3.12.x.x version caused the problem when they activated together. In version of WP Rocket 3.11.5 website works fine.

    That’s interesting. Perhaps, we should open also a support ticket with WP Rocket.

    Thread Starter palealejandro

    (@palealejandro)

    Aaaahhh, now we’re getting somewhere, I too have WP Rocket, and recently updated that plugin. Didn’t think that was the culprit. Good sleuthing.

    here is disscusion about WpRocket and this conflict:
    https://github.com/wp-media/wp-rocket/issues/5354#issuecomment-1228952105

    Plugin Support Piotrek Bodera

    (@nerdontour)

    Thank you, maki_b (@maki_b) for linking to the thread.

    May I kindly ask you Jason (@palealejandro) and ev0llution (@ev0llution) to confirm if you see the issue with the WP Rocket 3.11.5?

    Since WP Rocket is a premium plugin, we don’t have a way to test it on our side. Yet, it’s still important for us to monitor such situations.

    Thread Starter palealejandro

    (@palealejandro)

    Thanks to everyone contributing.

    I rolled back to WPRocket 3.11.5, and the issue has subsided. There is definitely a conflict specifically with WPRocket 3.12.

    To add to this discussion. I experience this issue as well but only after I switched to PHP8.0. On PHP 7.4 the two plugins do not have a conflict.

    Thread Starter palealejandro

    (@palealejandro)

    That’s interesting, thanks for sharing. I, too, have PHP 8.0.

    Plugin Support Piotrek Bodera

    (@nerdontour)

    Thank you for passing additional info Solide Webservices (@jghaanstra) and Jason (@palealejandro).

    It seems that the issue is now solved in 3.12.0.4. Please refer to:
    https://github.com/wp-media/wp-rocket/issues/5354
    https://github.com/wp-media/wp-rocket/pull/5367

    Thread Starter palealejandro

    (@palealejandro)

    Excellent, thanks for the info!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Conflict with WooCommerce’ is closed to new replies.