• I edit a certain post any test through the Query Monitor plugin encounters the error :

    Version 5.6.0 in PHP 8.0 in Nignx Alimaxlinux

    is_file(): open_basedir restriction in effect. File(/en.js) is not within the allowed path(s): (/home/domain/:/tmp:/var/run/cache-nginx/domain/)

    Count: 12

    1. wp-includes/class-wp-editor.php:516
    2. is_file()
      wp-includes/class-wp-editor.php:516
    3. _WP_Editors::editor_settings()
      wp-includes/class-wp-editor.php:308
    4. _WP_Editors::editor()
      wp-includes/general-template.php:3812
    5. wp_editor()
      wp-admin/edit-form-advanced.php:604

    is_file(): open_basedir restriction in effect. File(/en_dlg.js) is not within the allowed path(s): (/home/domain/:/tmp:/var/run/cache-nginx/domain/)

    Count: 12

    1. wp-includes/class-wp-editor.php:520
    2. is_file()
      wp-includes/class-wp-editor.php:520
    3. _WP_Editors::editor_settings()
      wp-includes/class-wp-editor.php:308
    4. _WP_Editors::editor()
      wp-includes/general-template.php:3812
    5. wp_editor()
      wp-admin/edit-form-advanced.php:604

    AND

    Notice unserialize(): Error at offset 5919 of 5952 bytes

    1. wp-includes/functions.php:651
    2. unserialize()
      wp-includes/functions.php:651
    3. maybe_unserialize()
      Unknown location
    4. array_map()
      wp-includes/meta.php:660
    5. get_metadata_raw()
      wp-includes/meta.php:571
    6. get_metadata()
      wp-includes/post.php:2490
    7. get_post_meta()
      wp-admin/includes/class-wp-privacy-policy-content.php:69
    8. WP_Privacy_Policy_Content::text_change_check()
      wp-includes/class-wp-hook.php:308
    9. do_action('admin_init')
      wp-admin/admin.php:175
    • This topic was modified 2 years, 1 month ago by Litalino.
    • This topic was modified 2 years, 1 month ago by Litalino.
    • This topic was modified 2 years, 1 month ago by Litalino.
  • The topic ‘Edit post Error is_file(): open_basedir restriction in effect. File(/en.js) is n’ is closed to new replies.