• Resolved vr6pete

    (@vr6pete)


    Since enabling the plugin for testing, I have noticed that the following errors are displayed frequently in my logs.

    I am running WordPress 5.8 and PHP 7.4.22.

    [20-Aug-2021 00:27:27 UTC] PHP Warning: stristr(): Empty needle in /var/www/html/wp-content/plugins/aws-cdn-by-wpadmin/class-aws-cdn.php on line 92

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @vr6pete

    Its not an error but a warning, will fix it in the next release.

    I’ve got this problem too and it’s making the plugin unusable.

    Initially it looked to be working great and simple to setup however on flushing caches (autoptimize and nginx page cache) I get the following warnings all over the home page:

    Warning: stristr(): Empty needle in /var/www/wordpress/wp-content/plugins/aws-cdn-by-wpadmin/class-aws-cdn.php on line 92

    Plus I’ve noticed that having activated the CDN via a domain name the URLs are being rewritten to the CDN – which of course breaks the SEO. Top level menu is fine but buttons on page e.g:

    https://dev.thinkingmuseum.com/work-with-me-2021/

    Ah, of course the warnings because I have WP_DEBUG enabled but the other part I mentioned remains a problem. Thanks

    Plugin Author luckychingi

    (@luckychingi)

    Hello @xyglooid

    It is a good practice to start your own support thread.

    Regarding your issue, can you send me a message from my website?
    (Don’t want to fill this thread with unnecessary messages)

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

The topic ‘Empty needle in class-aws-cdn.php’ is closed to new replies.