L
L
Lotus2782020-05-21 23:10:53
WordPress
Lotus278, 2020-05-21 23:10:53

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="";

What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-05-21
@dimonchik2013

not recovered
oh these eval

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question