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

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

The code I have was provided to me some years back and works perfectly up to version 7.0

When I upgrade the server it throws approx 6 errors all similar to the example provided:

"Fatal error: Uncaught Error: Cannot use string offset as an array in /var/www/xxxxxx/[login to view URL](258) : eval()'d code:1 Stack trace: #0"

Can you solve the following Typical error?

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. I want all errors fixed however I believe that it's the same issue that is causing them.

Are you familiar with upgrading php and issues with the eval() function?

PHP XML Архітектура ПЗ WordPress Тестування сайтів Веб-хостинг Веб-служби Управління веб-сайтами Website Optimization

ID Проекту: #34327562

Про проект

33 заявок(-ки) Дистанційний проект Остання активність 2 роки(ів) тому

Доручено:

(43 відгуків(-и))
5.9

33 фрілансерів(-и) готові виконати цю роботу у середньому за €220

c0909h1179

Hi there, I'm the best here! Would love to work together. Thanks!

€150 EUR за 1 день
(33 відгуків(и))
6.4
markmarkkutsenko

I am very familiar with uprading PHP versions to v7.4 and v8. "Cannot use string offset as an array " This is typical issue and I can fix all compatibility issues . Please send me a message so that we can discuss more. Більше

€200 EUR за 2 дні(-в)
(24 відгуків(и))
5.9
romanenkovanton

yeah, I am familiar with XML parse. In my opinion, you are using smiple_xml_load_file function in PHP. As you can see in my profile, I have been working with XML and JSON similar with your project. I can fix it right n Більше

€30 EUR за 1 день
(5 відгуків(и))
3.8
codenomadnet

Hi, Greetings! I analysed your project requirements, pretty clear with it but still want to discuss everything in detail. I am a proficient developer with professional-level programming experience of 5 years. My Exp Більше

€250 EUR за 7 дні(-в)
(2 відгуків(и))
3.2