Class not found – capitalisation error
-
2023/09/12 11:21:08 [error] 846#846: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "DLXPlugins\CommentEditLite\Admin\Tabs\Settings" not found in /srv/www/my-website.com/releases/20230912102211/web/app/plugins/simple-comment-editing/includes/Admin/Admin_Settings.php:26 Stack trace: #0 /srv/www/my-website.com/releases/20230912102211/web/app/plugins/simple-comment-editing/simple-comment-editing.php(875): DLXPlugins\CommentEditLite\Admin\Admin_Settings->__construct() #1 /srv/www/my-website.com/releases/20230912102211/web/wp/wp-includes/class-wp-hook.php(308): DLXPlugins\CommentEditLite\sce_instantiate('') #2 /srv/www/my-website.com/releases/20230912102211/web/wp/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #3 /srv/www/my-website.com/releases/20230912102211/web/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /srv/www/my-website.com/releases/20230912102211/web/wp/wp-settings.php(486): do_action('plugins_loaded') #5 /srv/www/my-website.com/releases/20230912102" while reading response header from upstream, client: xxx.xxx.xxx.xx, server: staging.my-website.com, request: "GET /wp/wp-admin/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm-wordpress.sock:", host: "staging.my-website.com"
When I deploy my site to the server, I get this error. On local, I do not. I am on macOS locally, and the server is Ubuntu. I am using composer to require this plugin, via wpackagist.org
When I rename the directory includes/Admin/tabs to includes/Admin/Tabs, the code works.
It’s possible the capitalisation fix of version 3.01 hasn’t been correctly recorded by your code repository.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Class not found – capitalisation error’ is closed to new replies.