Title: Fatal Error when installing
Last modified: March 8, 2023

---

# Fatal Error when installing

 *  Resolved [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/)
 * Hi, I’ve used this plugin on site I’ve built from scratch. And I loved it.
   I 
   am now trying to install it onto a site I am rebuilding, and I’m receiving this
   error when attempting to install it.Please advise? **Fatal error**: Uncaught 
   Error: Class “BoldBlocks\Patterns” not found in /nas/content/live/bchp2stg/wp-
   content/plugins/content-blocks-builder/content-blocks-builder.php:257 Stack trace:#
   0 /nas/content/live/bchp2stg/wp-content/plugins/content-blocks-builder/content-
   blocks-builder.php(147): BoldBlocks\ContentBlocksBuilder->register_component(‘
   BoldBlocks\\Patt…’) #1 /nas/content/live/bchp2stg/wp-content/plugins/content-
   blocks-builder/content-blocks-builder.php(96): BoldBlocks\ContentBlocksBuilder-
   >register_core_components() #2 /nas/content/live/bchp2stg/wp-content/plugins/
   content-blocks-builder/content-blocks-builder.php(77): BoldBlocks\ContentBlocksBuilder-
   >initialize() #3 /nas/content/live/bchp2stg/wp-content/plugins/content-blocks-
   builder/content-blocks-builder.php(357): BoldBlocks\ContentBlocksBuilder::get_instance()#
   4 /nas/content/live/bchp2stg/wp-content/plugins/content-blocks-builder/content-
   blocks-builder.php(361): BoldBlocks\boldblocks_cbb_get_instance() #5 /nas/content/
   live/bchp2stg/wp-admin/includes/plugin.php(2314): include_once(‘/nas/content/
   li…’) #6 /nas/content/live/bchp2stg/wp-admin/plugins.php(192): plugin_sandbox_scrape(‘
   content-blocks-…’) #7 {main} thrown in **/nas/content/live/bchp2stg/wp-content/
   plugins/content-blocks-builder/content-blocks-builder.php** on line **257**

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-installing-22/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-installing-22/page/2/?output_format=md)

 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16540150)
 * Hi [@bchpdigital](https://wordpress.org/support/users/bchpdigital/), thank you
   for reporting the issue. Could you please tell me which version do you try to
   install? the latest version 2.3.9?
 * Phi.
 *  Thread Starter [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16540154)
 * Correct 🙂 2.3.9
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16540182)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) I’ve just tested
   on a new fresh WP. It works fine for me. Could you please tell me more about 
   your issue? Or can you re-install it in your local?
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16540207)
 * Hi [@bchpdigital](https://wordpress.org/support/users/bchpdigital/), Which version
   of PHP on your server? Please provide me more details to reproduce it.
 * Thanks, Phi.
 *  Thread Starter [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16540677)
 * Hi.
   The plugin still works on my personal site.My personal site is running PHP
   8.1.14 with WP 6.1.1. Using the Twenty Twenty-Two Theme. It’s a very minimal 
   portfolio and blog site.The site I am working on, which is having this fatal 
   error:This site has been around for a few years, using a paid-for theme and page
   builder (Impreza) with quite a few plugins. It’s been passed down through several
   SEO agencies that have just piled on more and more plugins.I have now copied 
   this to a staging site and ripped it all down, rebuilding it with the Twenty-
   Twenty-Three theme. Keeping everything pretty vanilla with minimal plugins. This
   staging site is now updated to PHP 8.0, using WP 6.1.1.This staging site is where
   the fatal error is now occurring when attempting to install.The original plugins
   are still installed but deactivated. Woo Commerce is enabled.I have attached 
   an image of the plugin list.
 * ![](https://i0.wp.com/bchp2stg.wpengine.com/wp-content/uploads/2023/03/screencapture-
   bchp2stg-wpengine-wp-admin-plugins-php-2023-03-08-16_11_29.png?ssl=1)
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16541690)
 * Thank you very much [@bchpdigital](https://wordpress.org/support/users/bchpdigital/)
   for the details. I still don’t know you get this error. The patterns file is 
   still there in the repo [https://plugins.trac.wordpress.org/browser/content-blocks-builder/tags/2.3.9/includes/patterns.php](https://plugins.trac.wordpress.org/browser/content-blocks-builder/tags/2.3.9/includes/patterns.php).
   Can you double-check whether the file exists in your installation or not? It 
   should be located at “wp-content/plugins/content-blocks-builder/includes/patterns.
   php”.
 * I think for some reason, maybe the file is missing in your first installation,
   so can you please remove it completely and re-install it again?
 * Phi.
 *  Thread Starter [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16542950)
 * Hi. Thank you for looking into this.
   The patterns.php file is there, in the location
   you have specified.I’ve deleted the plugin in WP, and deleted the “cotent-blocks-
   builder” folder with “wp-content/plugins”.I’ve reinstalled the plugin again and
   I’m still receiving the same error.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543021)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) If you don’t
   mind, could you please allow me to access to your admin site? or could you please
   setup a test site on [https://instawp.com/](https://instawp.com/) with the same
   theme, plugin on your current site and grant me admin permission.
 * Phi.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543082)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) Could you please
   send me the Site Health Info for your site? It’s from the info tab in the `Tools-
   > Site Health` page
 * Thanks, Phi.
 *  Thread Starter [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543188)
 * Hi Phi,
   I have created a fresh site and I’m receiving the same error.I am using
   a host called wpengine, which seem to install a few of their own plugins by default.
   I don’t know these are interfering.I’d be happy to give you access to this dev
   site. A vanilla install that gives me the same error when I try to install your
   plugin.If you would provide me with an email address, I will send you a login.
   Thanks.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543222)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) Please send 
   me the info via the main site [https://contentblocksbuilder.com/](https://contentblocksbuilder.com/).
   There is an ‘Ask a question’ badge at the bottom right corner of the site, please
   send me a message there.
 * Thanks, Phi.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543262)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) I got your message.
   I’ll go through it very soon.
 * Thanks, Phi.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543295)
 * [@bchpdigital](https://wordpress.org/support/users/bchpdigital/) I found the 
   issue. I’ll add a hot-fix very soon.
 * Thank you very much for reporting it.
 *  Thread Starter [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * (@bchpdigital)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543306)
 * Awesome work. Thank you very much. I look forward to getting to work with your
   plugin agian 🙂
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/#post-16543942)
 * You’re welcome [@bchpdigital](https://wordpress.org/support/users/bchpdigital/)
   I’ve just released a hotfix for this issue.
 * Thank you again for your time on this issue. If you have time, and you don’t 
   mind, please help this plugin by giving it a rating as well.
 * Thank you very much.
 * Phi.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/fatal-error-when-installing-22/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-when-installing-22/page/2/?output_format=md)

The topic ‘Fatal Error when installing’ is closed to new replies.

 * ![](https://ps.w.org/content-blocks-builder/assets/icon.svg?rev=2605258)
 * [Content Blocks Builder - Create blocks, repeater blocks with carousel, grid, popup layouts](https://wordpress.org/plugins/content-blocks-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-blocks-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-blocks-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/content-blocks-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-blocks-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-blocks-builder/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [bchpdigital](https://wordpress.org/support/users/bchpdigital/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-installing-22/page/2/#post-16543957)
 * Status: resolved