Error after upgrading to 4.3.1 - Failed opening required

Hi Support,

I upgraded from Mautic 4.2.0 to 4.3.1 from terminal, via SSH, and the installation does not load correctly.

I look at error_log and see 2 fatal errors, one of memory (resources possibly during the update):

PHP Fatal error: Out of memory (allocated 191889408) (tried to allocate 327680 bytes) in /home/<account>/public_html/vendor/symfony/translation/MessageCatalogue.php on line 88

And opening required failed:

PHP Fatal error: require(): Failed opening required '/home/<account>/public_html/vendor/composer/../laminas/laminas-code/polyfill/ReflectionEnumPolyfill.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/<account>/public_html/vendor/composer/autoload_real.php on line 55

Any ideas on this?

Thanks for any suggestions. :hugs:

How much php memory did you allocate per script?

Under Ubuntu you can check by
sudo nano /etc/php/7.4/apache2/php.ini

Look for
memory_limit = 512M

1 Like