Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ColinWalton
    Participant

    I have now bought Shortcoder Pro, which I hoped would solve this problem but sadly it hasn’t.

    Here is the problem again….

    Using Query Monitor I have identified PHP error problems as stopping when I deactivate Shortcoder.

    I deactivated all of my plugins, no errors.

    Then activated each one in turn checking a test page each time.

    All worked ok until I activated Shortcoder. Here is the PHP error:

    Warning is_file(): open_basedir restriction in effect. File(/en.js) is not within the allowed path(s): (/var/www/vhosts/DOMAINNAMEHERE/:/tmp/) 1 +
    wp-includes/class-wp-editor.php:516
    WordPress core

    Warning is_file(): open_basedir restriction in effect. File(/en_dlg.js) is not within the allowed path(s): (/var/www/vhosts/DOMAINNAMEHERE/:/tmp/) 1 +
    wp-includes/class-wp-editor.php:520
    WordPress core

    Is there anything I can do to fix the error? I am using Enfold theme, but the same happens too using Twenty Twenty One as a test.

    Colin

    Hi Colin,

    Thanks for using Shortcoder plugin.

    The error you have mentioned looks like a server config.

    The error is thrown by WordPress editor module.

    Can you please follow the below articles to fix it?

    WordPress Warning: open_basedir restriction in effect

    https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths

    Thanks,
    Aakash

    ColinWalton
    Participant

    Brilliant! thank you.

    The solution is in this link https://bobcares.com/blog/wordpress-warning-open_basedir-restriction-in-effect/

    Change the Plesk php setting open_basedir to NONE and refreshing the page has fixed it.

    Thank you for the pointer!

    Colin

    Hi Colin,

    Good to hear. I’ll mark this post as resolved.

    Thanks,
    Aakash

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘STILL NEED HELP WITH PHP ERRORS’ is closed to new replies.

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms