elementor / wp2static-addon-netlify

Netlify add-on for WP2Static

Home Page:https://wp2static.com/addons/netlify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'WP2StaticNetlify\Controller' not found in /bitnami/word....

DashBarkHuss opened this issue · comments

When I try to activate wp2static-addon-netlify I'm getting this error in wordpress:

Fatal error: Uncaught Error: Class 'WP2StaticNetlify\Controller' not found in /bitnami/wordpress/wp-content/plugins/wp2static-addon-netlify-1.0.1/wp2static-addon-netlify.php:27 Stack trace: #0 /bitnami/wordpress/wp-content/plugins/wp2static-addon-netlify-1.0.1/wp2static-addon-netlify.php(41): run_wp2static_addon_netlify() #1 /opt/bitnami/wordpress/wp-admin/includes/plugin.php(2286): include_once('/bitnami/wordpr...') #2 /opt/bitnami/wordpress/wp-admin/plugins.php(191): plugin_sandbox_scrape() #3 {main} thrown in /bitnami/wordpress/wp-content/plugins/wp2static-addon-netlify-1.0.1/wp2static-addon-netlify.php on line 27

Hi @DashBarkHuss,

If using from the source code here, you'll need to run composer install, to make the required classes available.

Here's a pre-compiled zip installer, which can be easier:

http://wp2staticdlsnov2020.s3.amazonaws.com/wp2static-addon-netlify-1.0.1.zip

Please let me know if either of those helps resolve this

Thanks Leon for the quick reply. The link to the precompiled one isn't working. That was the same issue I had with this page which is why I eventually tried to get the Netlify add on from the github releases section.

All the other links on the thanks for donating page work, just not the Netlify one.

Thanks @DashBarkHuss, not sure what's going on with that particular link for you. I downloaded it again here fine, here it is attached for you:

wp2static-addon-netlify-1.0.1.zip

To debug why that other link isn't working, we could maybe try different browsers, or add a cachebusting string at the end, like: https://wp2staticdlsnov2020.s3.amazonaws.com/wp2static-addon-netlify-1.0.1.zip?cachebust=1234

Thanks the cache busted string worked!