Fatal Error: Loco Translate incompatibility with PHP 8.0 and ArrayIterator
-
Hello,
I am experiencing a critical error when trying to access the LearnPress plugin’s translation interface in Loco Translate.
The specific error message from my debug.log is:
PHP Fatal error: Declaration of ArrayIterator::getArrayCopy() must be compatible with LocoArrayInterface::getArrayCopy(): array in /wp-content/plugins/loco-translate/lib/compiled/gettext.php on line 0
My website details are:
- WordPress Version: 6.6.2
- PHP Version: 8.0
- Loco Translate Version: Έκδοση 2.7.3
I have already tried the following troubleshooting steps:
- Updated Loco Translate to the latest available version.
- Deactivated and then reinstalled Loco Translate.
The issue persists, and I am unable to access the LearnPress translation files. I would prefer not to downgrade my PHP version if possible.
Could you please provide assistance with this compatibility issue?
Thank you for your time.
The topic ‘Fatal Error: Loco Translate incompatibility with PHP 8.0 and ArrayIterator’ is closed to new replies.