Passer au contenu principal

Fatal Swift.php error - Base de connaissances / Managing Deskpro On-Premise / Troubleshooting - Deskpro Support

Fatal Swift.php error

Liste des auteurs

Question:

I moved my Deskpro installation to a new server and I'm getting this error:

Fatal error: Cannot call overloaded function for non-object in /var/www/html/app/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php on line 62

How can I fix this?

Answer:

This problem can happen if you have the Alternative PHP Cache (APC) PHP accelerator installed.

APC is only required for older versions of PHP. Current versions of Deskpro require PHP 5.5+, which includes the Zend Opcache accelerator. If you encounter this problem, we recommend you disable APC (the method will vary depending on your platform), and update PHP to 5.5 or above.

Utile Peu Utile

46 personnes sur 110 ont trouvé cette page utile

Ajouter un commentaire

Veuillez vous connecter ou vous enregistrer pour soumettre un commentaire.

Mot de passe oublié ?