I get this fatal error when activating the plugin:
PHP Fatal error: require_once(): Failed opening required '/var/www/rcp/wp-content/plugins/rcp-file-protector/src/Core/Autoload/Psr4Autoloader.php' (include_path='.:/usr/local/lib/php') in /var/www/rcp/wp-content/plugins/rcp-file-protector/bootstrap.php on line 16
It's looking for src/Core/Autoload/ but it looks like the actual file path being used is src/core/Autoload (note lowercase c). The directory should be renamed to Core.
Additionally, after fixing that, the following error gets thrown:
PHP Fatal error: Uncaught ReflectionException: Class RcpFileProtector\Core\Admin\Settings does not exist in /var/www/rcp/wp-content/plugins/rcp-file-protector/src/Core/DI/Container.php:112
This is due to admin not being capitalized in the directory name, and same for helpers.
I get this fatal error when activating the plugin:
It's looking for
src/Core/Autoload/
but it looks like the actual file path being used issrc/core/Autoload
(note lowercasec
). The directory should be renamed toCore
.Additionally, after fixing that, the following error gets thrown:
This is due to
admin
not being capitalized in the directory name, and same forhelpers
.