V
V
Vladimir2018-08-28 10:03:10
WordPress
Vladimir, 2018-08-28 10:03:10

Why is wordpress theme not working after migration?

Hello. A question. I made a copy of the site and the theme fell off. The error is that Theme Functions were not found.
Warning: Illegal string offset 'phone' in /root/test.ru/wp-content/themes/byblos/inc/engine/byblos.php on line 324
Warning: Illegal string offset 'phone2' in /root/test.ru/ wp-content/themes/byblos/inc/engine/byblos.php on line 324
Warning: Illegal string offset 'email' in /root/test.ru/wp-content/themes/byblos/inc/engine/byblos.php on line 324
What was done:
All links in the database were redefined - changed the paths up to the root - took into account serialized arrays. Changed the length where necessary.
Set the rights to all files and folders (644 and 755)
WP_SITEURL and WP_HOME - correspond to the new domain Re-uploaded
native htaccess
Changed php version from 5.3 to 7.2
Reinstalled plugins
Restored wp from scratch, installed clean wp
What else can I do? Tell me please. Already tormented.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alvvi, 2018-08-28
@alvvi

So you
looked into the /root/test.ru/wp-content/themes/byblos/inc/engine/byblos.php file itself?
The values ​​themselves ('phone','phone2','email') most likely get from the database, of course, but you can start from the file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question