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

Ολοκληρωμένο Αναρτήθηκε Πριν 2 χρόνια Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

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

Ταυτότητα Εργασίας: #34327562

Σχετικά με την εργασία

33 προτάσεις Απομακρυσμένη εργασία Ενεργό Πριν 2 χρόνια

Ανατέθηκε στον:

(43 Αξιολογήσεις)
5.9

33 freelancers κάνουν προσφορές κατά μέσο όρο €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