VOOZH about

URL: https://wordpress.org/support/topic/fatal-error-open_basedir-restricton/

⇱ Fatal Error open_basedir restricton | WordPress.org


Forums

Skip to content

Forums / Plugin: Polylang / Fatal Error open_basedir restricton

  • Resolved 👁 Image
    marc2307

    (@marc2307)


    2 years, 8 months ago

    Hello, the following fatal error in the newest plugin version (3.5.) causes our site to crash (Front- and Backend):

    PHP Fatal error: Uncaught RuntimeException: SplFileInfo::isDir(): open_basedir restriction in effect. File(/MY_WEBSPACE/wp-content/mu-plugins/cl-smart-advice.php) is not within the allowed path(s): (/var/www/vhosts/intelligentis.capital/:/tmp/) in /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php:607
    Stack trace: 0 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php(607): SplFileInfo->isDir() 1 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php(160): PLL_WPML_Config->get_mu_plugin_files() 2 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php(78): PLL_WPML_Config->get_files() 3 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php(51): PLL_WPML_Config->init() 4 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php(64): PLL_WPML_Config->__construct() 5 /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/load.php(15): PLL_WPML_Config::instance() 6 /MY_WEBSPACE/wp-content/plugins/polylang/include/class-polylang.php(259): require_once('…') 7 /MY_WEBSPACE/wp-includes/class-wp-hook.php(310): Polylang->init() 8 /MY_WEBSPACE/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 9 /MY_WEBSPACE/wp-includes/plugin.php(517): WP_Hook->do_action() 10 /MY_WEBSPACE/wp-settings.php(495): do_action() 11 /MY_WEBSPACE/wp-config.php(111): require_once('…') 12 /MY_WEBSPACE/wp-load.php(50): require_once('…') 13 /MY_WEBSPACE/wp-blog-header.php(13): require_once('…') 14 /MY_WEBSPACE/index.php(17): require('…') 15 {main}
    
    thrown in /MY_WEBSPACE/wp-content/plugins/polylang/modules/wpml/wpml-config.php on line 607

    Our PHP version is 8.2.X. I’ve tried the plugin version 3.3 with the same result. A rollback to plugin version 3.2. fixed the issue. Could you please check this? I’m happy to assist if you have further questions.

    Thank you and kind regards,
    Marc

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor 👁 Image
    Grégory Viguier

    (@greglone)

    Hello,

    Thank you for reporting this issue. We’re working on this issue and have found a solution.

    I believe you are using symlinked MU plugins that are not in open_basedir, am I correct?

    Thanks.
    Greg

    • This reply was modified 2 years, 8 months ago by 👁 Image
      Grégory Viguier.
    • This reply was modified 2 years, 8 months ago by 👁 Image
      Grégory Viguier.
    Thread Starter 👁 Image
    marc2307

    (@marc2307)

    Thank you, issue is solved with the current update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error open_basedir restricton’ is closed to new replies.