• Resolved frafex

    (@frafex)


    WordPress version 6.2
    Active theme: Kadence (version 1.1.35)
    Current plugin: SureCart (version 1.9.0)
    PHP version 8.2.1 Error Details
    =============
    An error of type E_ERROR was caused in line 64 of the file /home/runcloud/webapps/GoGermanyJP/wp-content/plugins/surecart/packages/blocks/Blocks/BaseBlock.php. Error message: Uncaught Error: Class "SureCartBlocks\Util\BlockStyleAttributes" not found in /home/runcloud/webapps/GoGermanyJP/wp-content/plugins/surecart/packages/blocks/Blocks/BaseBlock.php:64
    Stack trace:
    #0 /home/runcloud/webapps/GoGermanyJP/wp-content/plugins/surecart/packages/blocks/Blocks/StoreLogo/Block.php(42): SureCartBlocks\Blocks\BaseBlock->getStyles()
    #1 /home/runcloud/webapps/GoGermanyJP/wp-content/plugins/surecart/packages/blocks/Blocks/BaseBlock.php(148): SureCartBlocks\Blocks\StoreLogo\Block->render()
    #2 /home/runcloud/webapps/GoGermanyJP/wp-includes/class-wp-block.php(258): SureCartBlocks\Blocks\BaseBlock->preRender()
    #3 /home/runcloud/webapps/GoGermanyJP/wp-includes/class-wp-block.php(244): WP_Block->render()
    #4 /home/runcloud/webapps/GoGermanyJP/wp-includes/class-wp-block.php(244): WP_Block->render()
    #5 /home/runcloud/webapps/GoGermanyJP/wp-includes/class-wp-block.php(244): WP_Block->render()
    #6 /home/runcloud/webapps/GoGermanyJP/wp-includes/blocks.php(1051): WP_Block->render()
    #7 /home/runcloud/webapps/GoGermanyJP/wp-includes/blocks.php(1089): render_block()
    #8 /home/runcloud/webapps/GoGermanyJP/wp-includes/class-wp-hook.php(308): do_blocks()
    #9 /home/runcloud/webapps/GoGermanyJP/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #10 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1860): apply_filters()
    #11 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
    #12 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api/class-wp-rest-server.php(1181): WP_REST_Posts_Controller->get_item()
    #13 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api/class-wp-rest-server.php(1028): WP_REST_Server->respond_to_request()
    #14 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api.php(535): WP_REST_Server->dispatch()
    #15 /home/runcloud/webapps/GoGermanyJP/wp-includes/rest-api.php(2889): rest_do_request()
    #16 [internal function]: rest_preload_api_request()
    #17 /home/runcloud/webapps/GoGermanyJP/wp-includes/block-editor.php(631): array_reduce()
    #18 /home/runcloud/webapps/GoGermanyJP/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
    #19 /home/runcloud/webapps/GoGermanyJP/wp-admin/post.php(187): require('...')
    #20 {main}
      thrown
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Andre Gagnon

    (@2winfactor)

    Thanks for reporting. Can you update to 1.9.1? We just pushed out a fix to address this issue.

    Thread Starter frafex

    (@frafex)

    Thanks for the fast fix, updated to 1.9.1. It is not causing the error anymore. Unfortunately the new customer dashboard is somehow not working. It looks like the styling is missing.

    • This reply was modified 1 year, 11 months ago by frafex.
    Plugin Author Andre Gagnon

    (@2winfactor)

    Thanks for the follow-up. Can you provide a screenshot?

    Thread Starter frafex

    (@frafex)

    Thats how it looks when I am logged in. The links are not clickable (just static text).

    Plugin Author Andre Gagnon

    (@2winfactor)

    it looks like our component script is not loading for you. Can you try navigation to Settings > Advanced and turn on the slide out cart (if it is turned off)?

    Thread Starter frafex

    (@frafex)

    That was the problem – fixed! Thanks for the fast support

    Another question for my understanding, isn’t the slide-out cart feature loading scripts on every page?

    E.g. I am now loading scripts on every page, even though I just need it for the customer dashboard?

    Plugin Author Andre Gagnon

    (@2winfactor)

    Well have to push out a fix for this case. This was just a workaround to get our script loader on the page. We dynamically lazy load our components, but we need to add a tiny script to do this on the page. I’ll let you know when we have an update out for this so you can switch that off.

    Thread Starter frafex

    (@frafex)

    Perfect, thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘SureCart 1.9 – Fatal Error’ is closed to new replies.