elementor / elementor/wp2static-addon-advanced-crawling

Class 'WP2Static\Request' not found in Crawler.php

Open
#18 4 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.