An Error On Mobile Devices

Posted in: Newspaper
Post count: 61

Hi!
An error appeared when viewing the site pages on mobile devices:
Warning: is_readable(): open_basedir restriction in effect. File(/Newspaper/theme.json) is not within the allowed path(s): (/home/apartm16/apartments.news/www:/home/apartm16/.system/tmp:/usr/local/pear) in /home/apartm16/apartments.news/www/wp-includes/class-wp-theme-json-resolver.php on line 354"

What’s wrong here? It appears only on mobile devices.
Help me please.

Post count: 27744

Hello,

Did you update the theme? Please delete your theme and install it again by using this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/ using method B (update the theme Manually).
Also, if you have done changes to the theme files, please copy them.
If you will do the update or a fresh install of the theme, then all changes you made in the theme’s files will be overwritten.
date. Also, check for a plugin conflict, deactivate one by one the untested plugins and find out which one causes the error. Clear your cache and try again.

Thank you!

Post count: 61

I did everything as you said, it didn’t help. I also did a few backups before the update and after tagDiv Version 11.1 and WordPress Version 5.8. I noticed that the problem manifests itself after updating WordPress Version 5.8. How to fix it?

Post count: 61

So far I have written to the hosting technical support.

Post count: 61

The script tried to access the system temporary folder. Disabled open_basedir in PHP settings. Problem solved 🙂

Post count: 27744

Hello,

I’m glad that the problem has been solved!
If you have other questions, please let us know!

Have a nice weekend!

Post count: 106

Hi periodical.apartments

Thanks for the solution 🙂

Post count: 22

What is the script, exactly?
define(‘WP_TEMP_DIR’, ini_get(‘upload_tmp_dir’));

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