PHP Fatal error: Uncaught Error: Class ‘KubAT\\PhpSimple\\HtmlDomParser’
-
Something’s going wrong with the autoloader for this on my site.
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'KubAT\\PhpSimple\\HtmlDomParser' not found in /home/82414-67987.cloudwaysapps.com/uqvhscumzu/public_html/wp-forwarduk/public/wp-content/plugins/gallery-custom-links/mgcl_core.php:191
I’ve tried having a dig around the autoloader files, doing a composer install, checking the checksum of the plugin files and reinstalling it and checking file permissions on my server but nothing seems to work.
For now I’ve stuck this at the top of the
mgcl_core.php
:require_once 'vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/HtmlDomParser.php';
Which solves the problem for now. I also tried switching to DiDom but alas, the same issue.
Any suggestions as to what might be going wrong, or is there any other debugging/things I can check for you?
- The topic ‘PHP Fatal error: Uncaught Error: Class ‘KubAT\\PhpSimple\\HtmlDomParser’’ is closed to new replies.