• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED Problem found when editing page

Status
Not open for further replies.

SamuelJB

New member
Messages
2
Likes
0
Points
1
#1
Hi,

After installing PHP code snippets version 2.0.6, I found something abnormal when editing page. I found some 2 errors at the browser console:

1544029121524.png


The first error was found in post.php and it was:
1544029013022.png
 

Attachments

Kirill

Support team
Messages
82
Likes
4
Points
8
#2
Hi

This problem occurs for php less than 5.4 and with the short_open_tag option turned off.
To solve this problem, you can enable short_open_tag or upgrade the php version to 5.4 or higher.

Changing php options.
For the Apache2 web server, you need to add a following line to the .htaccess file in your wordpress directory
Code:
php_flag short_open_tag On
For nginx/php-fpm see php.ini file.

I hoped that i really helped you.
 
Status
Not open for further replies.