• Resolved stefk

    (@stefk)


    Hi there

    After the recent update, we are getting this warning.

    I think the line needs to be removed from your next update, as the file it is referring to does not exist anymore.

    Failed opening ‘\wp-content\plugins\aws-cdn-by-wpadminwp-config.php’
    No such file or directory

    regards
    Stef

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

    (@stefk)

    Update of the issue:

    – The root cause of almost all of the entries in the log file is in this file: “\wp-content\plugins\aws-cdn-by-wpadmin\class-aws-cdn.php” in each of the four sites.

    – If this was to be addressed, this log file would be minimal

    – This file, “class-aws-cdn.php”, has this code in it:

    $wparoot = str_replace(“wp-content/plugins/aws-cdn-by-wpadmin”,””, (__DIR__) );

    $wpconfig = $wparoot . “wp-config.php”;

    – Above code ends up telling the script to open this file: “\wp-content\plugins\aws-cdn-by-wpadmin\wp-config.php” which is not in this directory. The “wp-config.php” file is located in the site root directory for each sites. This means that the variable $wparoot is not being set correctly.

    Thread Starter stefk

    (@stefk)

    We appended this to correct:
    $wparoot = ABSPATH;
    $wpconfig = $wparoot . “wp-config.php”;

    Plugin Author luckychingi

    (@luckychingi)

    Version 2.0.13 updated with the resolution provided by @stefk

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Update: Change Line referring Non-Existant File’ is closed to new replies.