• Resolved theaizen

    (@theaizen)


    There are a lot errors is_file(): open_basedir restriction in effect.

    Error line:

    wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Minify.php:461
    is_file()
    wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Minify.php:461
    MatthiasMullie\M\Minify->canImportFile()
    wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/CSS.php:269
    MatthiasMullie\M\CSS->importFiles()
    wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/CSS.php:326
    MatthiasMullie\M\CSS->execute()
    wp-content/plugins/wp-asset-clean-up/vendor/matthiasmullie/minify/src/Minify.php:149
    MatthiasMullie\M\Minify->minify()
    wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/MinifyCss.php:58
    WpAssetCleanUp\O\MinifyCss::applyMinification()
    wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php:349
    WpAssetCleanUp\O\OptimizeCss::maybeOptimizeIt()
    wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php:166
    WpAssetCleanUp\O\OptimizeCss::prepareOptimizeList()
    wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php:34
    WpAssetCleanUp\O\OptimizeCss::WpAssetCleanUp\O\{closure}()
    wp-includes/class-wp-hook.php:292
    do_action('wp_footer')
    wp-includes/general-template.php:3025
    wp_footer()
    wp-content/themes/dici/footer.php:62
    load_template('wp-content/themes/dici/footer.php')
    wp-includes/template.php:676
    locate_template()
    wp-includes/general-template.php:92
    get_footer('shop')
    wp-content/plugins/woocommerce/templates/single-product.php:60

    How can I solve?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter theaizen

    (@theaizen)

    WPACU_DO_EXTRA_CHECKS_FOR_AMP
    Error line:

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:424
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:424
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action('init')
    wp-settings.php:560

    WPACU_PREVENT_ANY_FRONTEND_OPTIMIZATION
    Error line:

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:437
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:437
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:28
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action('init')
    wp-settings.php:560
    Plugin Author Gabe Livan

    (@gabelivan)

    @theaizen Based on what I know, errors such as “open_basedir restriction in effect” are related to user’s permissions and it’s something related to the settings of your hosting account.

    If you’re not sure what changes should be made (e.g. you’re not familiar with Linux or don’t have SSH access or just don’t feel comfortable editing certain files), it’s better to contact your hosting company. I suspect this error would be triggered by other plugins as well using is_file().

    As for the other errors related to the constants you mentioned (WPACU_DO_EXTRA_CHECKS_FOR_AMP and WPACU_PREVENT_ANY_FRONTEND_OPTIMIZATION), what’s the actual error? Is it that the constant is undefined?

    Thread Starter theaizen

    (@theaizen)

    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:418
    define()
    wp-content/plugins/wp-asset-clean-up/classes/Plugin.php:418
    WpAssetCleanUp\Plugin::preventAnyFrontendOptimization()
    wp-content/plugins/wp-asset-clean-up/classes/CleanUp.php:32
    WpAssetCleanUp\CleanUp->doClean()
    wp-includes/class-wp-hook.php:292
    do_action(‘init’)
    wp-settings.php:560

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

The topic ‘is_file(): open_basedir restriction in effect.’ is closed to new replies.