Frequently Warning in logs

Posted in: Newspaper
Post count: 13

Please for advice regarding frequently log record from our server
We are using your newspaper theme on webserver manage thru Plesk!

Log:

1566#0: *129305 FastCGI sent in stderr: “PHP message: PHP Warning: is_readable(): open_basedir restriction in effect. File(/Newspaper/theme.json) is not within the allowed path(s): (/var/www/vhosts/mina.news/:/tmp/) in /var/www/vhosts/mina.news/httpdocs/wp-includes/class-wp-theme-json-resolver.php on line 433PHP message: PHP Warning: is_readable(): open_basedir restriction in effect. File(/Newspaper/theme.json) is not within the allowed path(s): (/var/www/vhosts/mina.news/:/tmp/) in /var/www/vhosts/mina.news/httpdocs/wp-includes/class-wp-theme-json-resolver.php on line 433” while reading response header from upstream

Thanks in advance!

Jasa

Post count: 35449

Hi jasaj,
This php warning is usually display when you have set for the php some restrictions in the open_basedir -> https://ourcodeworld.com/articles/read/1428/how-to-disable-the-php-open-basedir-restriction-for-a-specific-domain-in-plesk
There were some adjustments added in Newspaper v11.4.1 for the mobile theme plugin (this problem is related to the mobile theme plugin), but this depends on the paths you have set in the open_basedir.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.