Support » Plugin: Gallery Custom Links » PHP Fatal error: Uncaught Error: Class ‘KubAT\\PhpSimple\\HtmlDomParser’

  • Resolved Patabugen


    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/

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow



    That’s extremely weird. This autoloader is supposed to work everywhere, and right now you are the only user to report that issue.

    What is special about your install? PHP version? Kind of server and system?

    Thread Starter Patabugen


    Yeah – it’s a very odd one!

    It’s a Vultr server from CloudWays running Debian, Apache 2.4.10 and PHP 7.2.

    I can send you more details/a phpinfo privately if that might help.

    I got the same issue, I am using composer for instaling the WordPress plugins ( Bedrock).
    This just happened – and only on production server, this is a crippling issue.

    • This reply was modified 3 years, 4 months ago by strarsis.
    Plugin Author Jordy Meow


    I pushed a new version (1.1.4), can you try it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error: Uncaught Error: Class ‘KubAT\\PhpSimple\\HtmlDomParser’’ is closed to new replies.