Skip to main content

Fatal Swift.php error - Knowledgebase / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

Fatal Swift.php error

Authors list

Question:Copy link to Question: to clipboard

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:Copy link to Answer: to clipboard

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.

Naudingas Nenaudingas

47 iš 111 žmonių mano, kad šis puslapis naudingas