Skip to content

Fatal error when the helper plugin is used on local env #2

@Mai-Saad

Description

@Mai-Saad

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version
  • Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Upload the helper plugin zip to local env
  2. activate the plugin
  3. refresh admin
  4. check log file
[12-Aug-2024 08:41:48 UTC] PHP Fatal error:  Uncaught Error: Class "WP_Rocket_e2e\Plugin" not found in /home/mai/Local Sites/apachenew/app/public/wp-content/plugins/wp-rocket-e2e-test-helper-main/rocket-e2e-test-helper.php:19
Stack trace:
#0 /home/mai/Local Sites/apachenew/app/public/wp-settings.php(522): include_once()
#1 /home/mai/Local Sites/apachenew/app/public/wp-config.php(103): require_once('/home/mai/Local...')
#2 /home/mai/Local Sites/apachenew/app/public/wp-load.php(50): require_once('/home/mai/Local...')
#3 /home/mai/Local Sites/apachenew/app/public/wp-blog-header.php(13): require_once('/home/mai/Local...')
#4 /home/mai/Local Sites/apachenew/app/public/index.php(17): require('/home/mai/Local...')
#5 {main}
  thrown in /home/mai/Local Sites/apachenew/app/public/wp-content/plugins/wp-rocket-e2e-test-helper-main/rocket-e2e-test-helper.php on line 19

Expected behavior
No error while using the helper plugin on local env

Screenshots
Screenshot from 2024-08-12 11-38-15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions