• I have the problem that I report below.
    At Automattic execution the site goes into “fatal error” and I have to replace the woocommerce plugin folder. Once the woocommerce folder has been replaced, the site works correctly again.
    I tried to update the plugin which was very old to a more “fresh” version. It is now 3.7.3 but the problem persists. What can I do? What can it be?

    2022-11-17T07:53:09+00:00 CRITICAL Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\register_block_type_from_metadata() in /home/m553nrfc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php:215
    Stack trace:
    #0 /home/m553nrfc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(116): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->register_block_type()
    #1 /home/m553nrfc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(70): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->initialize()
    #2 /home/m553nrfc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypesController.php(64): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->__construct(Object(Automattic\WooCommerce\Blocks\Assets\Api), Object(Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry), Object(Automattic\WooCommerce\Blocks\Integrations\Integrat in /home/m553nrfc/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php alla riga 215

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @davidebovolenta
    Sorry for the trouble. Did you update your PHP version to v7.4 or v8.x? Could you please update your WordPress core, all themes, and plugins? Then let me know how that goes! 😄

    Thread Starter davidebovolenta

    (@davidebovolenta)

    I can’t update more than I have updated. The project is from 2015! I just have to make it work.

    WP is version 5.4.11

    PHP is 7.4

    woocommerce is 3.7.3 (original 2.5.5 but it didn’t even have blocks so I thought that was the problem)

    On an old hosting it worked without problems. Only on a new hosting I have the indicated problem.

    Couldn’t there be some way to turn off woocomerce’s automatic actions? Is used as a catalog, there are no sales or registered users.

    Thank you.

    PS: theme is Waboot 0.13.3!!!!! The proposed update would be 3.1.3!!!!!!

    Thread Starter davidebovolenta

    (@davidebovolenta)

    I fixed it myself, thanks.

    Glad to hear that, @davidebovolenta. If you could share what you’ve done, someone could get the information to solve his issue. 🙏

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

The topic ‘Old woo commerce installation’ is closed to new replies.