0
Answered

How to fix Fatal error: Call to undefined method Boldgrid\Library\Util\Version::getWpFilesystem()?

scott 1 week ago updated by Jesse Owens (Community Manager) 3 days ago 7

Everything was working fine, and did an update to two Boldgrid plugins, and now I get this error and can not user my admin Dashboard.

Fatal error: Call to undefined method Boldgrid\Library\Util\Version::getWpFilesystem() in /home/xxxxxxx/public_html/xxxxxxx/wp-content/plugins/boldgrid-inspirations/vendor/boldgrid/library/src/Library/Plugin/Plugin.php on line 312
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

I Xed out my site information.   What could be causing this?

Answer

Answer

Hi Scott-
Sorry about that, here are the steps, in order, that you should take to resolve the error.

First, rename the plugin so that you can gain access to your dashboard.

Second, once you're in your dashboard, re-install the plugin (not name it back). You can download it from this link.

After you reinstall it, click "Activate" so that it can load the correct updated library.


Alternatively, if you have SSH access, the following WP-CLI command will resolve this issue as well:

wp plugin deactivate boldgrid-inspirations --skip-plugins && wp plugin activate boldgrid-inspirations

I hope this helps

GOOD, I'M SATISFIED


Satisfaction mark by scott 3 days ago
Answered

Hello Scott,

Thanks for the question, I'm sorry to hear about the fatal error on your website.


We've seen this bug once before, and in that case it was resolved by deactivating and then re-activating the BoldGrid Inspirations plugin. 

Our development team reports that the issue should have been resolved with a recent update, so make sure your BoldGrid plugins are all updated to the most recent version.

I hope this helps

Thanks for the answer.  How do I disable that plugin if I can't even get the admin website to load correctly?

ok, so I did as you said.  My site started worked (admin side).  This is with Boldgrid Inspirations disabled.  But when I try to reactivate it, I get the below errors:

Plugin could not be activated because it triggered a fatal error.

Fatal error: Class 'Boldgrid\Library\Library\License' not found in /home/XXXXXX/public_html/XXXXXXXXXXXXX/wp-content/plugins/boldgrid-inspirations-back/vendor/boldgrid/boldgrid-inspirations-premium/src/Premium/Attribution.php on line 39

The plugin folder name boldgrid-inspirations-back is the name of the folder I changed it to.  If I try to rename the folder back, the site breaks again.

Updating to the latest boldgrid-inspirations plugin is what got me into this mess in the first place.  It was working fine before updating the plugin.

Not sure where to go from here.

-Scott-

Answer

Hi Scott-
Sorry about that, here are the steps, in order, that you should take to resolve the error.

First, rename the plugin so that you can gain access to your dashboard.

Second, once you're in your dashboard, re-install the plugin (not name it back). You can download it from this link.

After you reinstall it, click "Activate" so that it can load the correct updated library.


Alternatively, if you have SSH access, the following WP-CLI command will resolve this issue as well:

wp plugin deactivate boldgrid-inspirations --skip-plugins && wp plugin activate boldgrid-inspirations

I hope this helps

Thank you, following your instructions has fixed my issues!  I really appreciate the help!

-Scott-

Hi Scott-

So glad to hear you got it all fixed up! I'm so sorry for the hassle and frustration.