Fix compatibility issue (parsing XML data) when upgrading from PHP 7.0 to 7.4

Job ID: 34327562

Budget: €30 – €250 EUR

Can you solve the following Typical error ?

"Fatal error: Uncaught Error: Cannot use string offset as an array in /var/www/xxxxxx/simplexml.php(258) : eval()'d code:1 Stack trace: #0"

I want to upgrade a server to PHP 7.4 but the above typical error appears when moving from version 7.0 to 7.1 onwards. Approx 6 errors exist similar to above and it happens when parsing data in an XML file.

Are you familiar with upgrading php and issues with the eval() function ?
Related categories: PHP XML WordPress Software Architecture Website Testing