You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class 'WP2StaticAdvancedCrawling\Controller' not found in wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php:27
#19
Open
twardoch opened this issue
Aug 23, 2021
· 4 comments
With wp2static 7.1.6, when activating this addon, I get:
Fatal error: Uncaught Error: Class 'WP2StaticAdvancedCrawling\Controller' not found in wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php:27 Stack trace: #0 wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php(41): run_wp2static_addon_advanced_crawling() #1 wp-admin/includes/plugin.php(2286): include_once('') #2 wp-admin/plugins.php(191): plugin_sandbox_scrape('wp2static-addon...') #3 {main} thrown in wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php on line 27
The text was updated successfully, but these errors were encountered:
Yep, I realized they require compiling just short time ago :) I think I got "advanced crawling" working. Is the "advanced discovery" add-on abandoned? I’d love to be also able to specify some additional URLs to crawl and turn into static pages.
BTW, in the install.sh, it’d be safer to wrap all paths in quotes. I had a space in the path and the install failed. Sure, developers don’t use spaces, but... :)
@twardoch the build zip script? Yep, agree! I usually add shellcheck test to my projects, haven't added that into this, it seems, else I think it would warn about unquoted paths. I can add it to the GitHub Actions in this repo.
I bleieve there's crawling within this addon, but this is mostly @john-shaffer's code and I'm not up to speed with it yet.
With wp2static 7.1.6, when activating this addon, I get:
Fatal error: Uncaught Error: Class 'WP2StaticAdvancedCrawling\Controller' not found in wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php:27 Stack trace: #0 wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php(41): run_wp2static_addon_advanced_crawling() #1 wp-admin/includes/plugin.php(2286): include_once('') #2 wp-admin/plugins.php(191): plugin_sandbox_scrape('wp2static-addon...') #3 {main} thrown in wp-content/plugins/wp2static-addon-advanced-crawling-master/wp2static-addon-advanced-crawling.php on line 27
The text was updated successfully, but these errors were encountered: