elementor / elementor/wp2static-addon-advanced-crawling
Class 'WP2Static\Request' not found in Crawler.php
- Dominant language
- PHP
- Stars
- 11
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
If I enable this extension and hit **Generate Site** I get an exception. Tried to debug it and it occurs in `Crawler.php`,
line 42 : `$this->request = new \WP2Static\Request();`
`'WP2Static\Request' not found`
PHP Version 7.4.21
callstack:
```
WP2StaticAdvancedCrawling\Crawler->__construct (/public_html/wp-content/plugins/wp2static-addon-advanced-crawling/src/Crawler.php:42)
WP2StaticAdvancedCrawling\Crawler::wp2staticCrawl (/public_html/wp-content/plugins/wp2static-addon-advanced-crawling/src/Crawler.php:79)
WP_Hook->apply_filters (/public_html/wp-includes/class-wp-hook.php:303)
WP_Hook->do_action (/public_html/wp-includes/class-wp-hook.php:327)
do_action (/public_html/wp-includes/plugin.php:470)
WP2Static\Controller::wp2staticCrawl (/public_html/wp-content/plugins/wp2static/src/Controller.php:755)
WP2Static\Controller::wp2staticHeadless (/public_html/wp-content/plugins/wp2static/src/Controller.php:636)
WP2Static\Controller::wp2staticRun (/public_html/wp-content/plugins/wp2static/src/Controller.php:745)
WP_Hook->apply_filters (/public_html/wp-includes/class-wp-hook.php:301)
WP_Hook->do_action (/public_html/wp-includes/class-wp-hook.php:327)
do_action (/public_html/wp-includes/plugin.php:470)
{main} (/public_html/wp-admin/admin-ajax.php:187)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.