Neidio i'r brif gynnwys

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

Rhestr o awduron

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.

Defnyddiol Annefnyddiol

Roedd 47 o 111 o bobl yn teimlo bod y dudalen hon yn ddefnyddiol

Ychwanegu sylw

Mewngofnodwch neu cofrestrwch i gyflwyno sylw.

Angen atgofiad am eich cyfrinair?