Install Fatal Error

Hi all,



I’m getting this php error on install:



Fatal error: Call to a member function isSupported() on a non-object in /[path]/vendor/symfony/finder/Symfony/Component/Finder/Finder.php on line 791



Anyone seen this before?



Thanks

Hi all,

I’m getting this php error on install:

Fatal error: Call to a member function isSupported() on a non-object in /[path]/vendor/symfony/finder/Symfony/Component/Finder/Finder.php on line 791

Anyone seen this before?

Thanks

php is version 5.4.36 and mysql is 5.5.42

@alanhartless thanks for helping me find a solution to this in the slack forum.

I’m running a VPS with eaccelerator installed for PHP and that doesn’t play nicely with Doctrine / Symfony.

I disabled eaccelerator in the .htaccess file by adding these lines:

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

Once I got this fixed, I needed to install some dependencies to that were missing on my cpanel/whm vps.

Ran this as root:

pecl install apcu-beta
yum install libicu
yum install libicu-devel
pecl install intl

In order to set the folder and file permissions, I also ran these command as root in the mautic root folder:

chmod -R 755 .
chown -R nobody:nobody .

How did you run the command in folder and file permission…

Those commands have to be run via SSH.