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

    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,

    Apologies for the delay. The error log lines show that the error is thrown by wp editor. It looks like some server config is enable to restriction to open some files.

    Please search along the lines like in below article.

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

    Thanks,
    Aakash

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘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