Answer the question
In order to leave comments, you need to log in
Why did WP theme stop displaying post content after restoring from backup?
Hello!
Tell me, please, what could be the problem.
After restoring WP from a backup, the body of the posts is no longer displayed - the title is there, but the content of the post itself is not displayed. The logs say to look at two lines of this file:
default-derwidget.php(25) : regexp code(1) : eval()'d code', line 6)
default-derwidget.php(25) : regexp code(1) : eval()'d code', line 5)
We open it and see there it seems to be non-criminal
function get_short_wigets($length='') {
$mytitle = explode(' ', get_the_title(), $length);
$mdetails="";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question