• Resolved cmerrick

    (@cmerrick)


    Hi, this is an FYI: I had Blockmeister installed on a site that also uses WooCommerce, and recently found that I couldn’t edit a product because of a “critical error”. I deactivated all the plugins and reactivated them one by one, and Blockmeister was the conflict (so I left it deactivated because I need WooCommerce).

    I made sure all WooCommerce plugins and Blockmeister were updated to the latest versions, and using WordPress 5.9.2. Here is the error log:

    Error Details
    =============
    An error of type E_ERROR was caused in line 73 of the file /REDACTED/wp-content/plugins/blockmeister/includes/Pattern_Builder/Pattern_Builder.php. Error message: Uncaught Error: Class “ProDevign\BlockMeister\Pattern_Builder\Admin\Custom_Block_Pattern_Registry” not found in /REDACTED/wp-content/plugins/blockmeister/includes/Pattern_Builder/Pattern_Builder.php:73
    Stack trace:
    #0 /REDACTED/wp-content/plugins/blockmeister/includes/Pattern_Builder/Pattern_Builder.php(48): ProDevign\BlockMeister\Pattern_Builder\Pattern_Builder->init_admin()
    #1 /REDACTED/wp-content/plugins/blockmeister/includes/BlockMeister.php(71): ProDevign\BlockMeister\Pattern_Builder\Pattern_Builder::init()
    #2 /REDACTED/wp-content/plugins/blockmeister/blockmeister.php(45): ProDevign\BlockMeister\BlockMeister::init(‘/nas/content/li…’)
    #3 /REDACTED/wp-settings.php(418): include_once(‘/nas/content/li…’)
    #4 /REDACTED/wp-config.php(119): require_once(‘/nas/content/li…’)
    #5 /REDACTED/wp-load.php(50): require_once(‘/nas/content/li…’)
    #6 /REDACTED/wp-admin/admin.php(34): require_once(‘/nas/content/li…’)
    #7 /REDACTED/wp-admin/post.php(12): require_once(‘/nas/content/li…’)
    #8 {main}
    thrown`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author BlockMeister

    (@blockmeister)

    Hi @cmerrick,
    Thank you for reporting this.
    I will look into it soon.

    Plugin Author BlockMeister

    (@blockmeister)

    So far I was unable to replicate the error you reported.

    I installed both WooCommerce and BlockMeister on a new install and put WP in debug mode. I was able to add and edit Woo products without getting the critical error you reported.

    Strangely, in the current free version of BlockMeister the class that is missing according to the error you reported is not loaded at line 73 but at line 67 in Pattern_Builder.php? Are you 100% sure you are running the latest free version of BlockMeister (3.0.5)?

    Could you please reinstall BlockMeister and try again?

    Thread Starter cmerrick

    (@cmerrick)

    Hi, I checked the same site and reactivated Blockmeister, and it works correctly now. As part of the stuff I was doing before, I turned on auto-updates, so it was running 3.0.5. But I definitely remember updating to the latest version when I saw the error (I updated WooCommerce as well) and still getting the error; now I wonder if there was a caching issue or something. At any rate, the current version works.

    I have another nearly identical site that still had Blockmeister 2.0.8 installed, and I did get the critical error there, which went away after I updated it.

    So I guess nothing left to do, thanks for looking at it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘causes critical error with WooCommerce’ is closed to new replies.