Support » Plugin: AMP for WP - Accelerated Mobile Pages » Apache logs full of PHP Notices

  • Matt

    (@intellivision)


    Undefined variable and Undefined offset:

    [Thu Jun 20 12:51:00.709886 2019] [:error] [pid 16598] [client 162.158.78.72:27348] PHP Notice: Undefined variable: img_path in /var/www/html/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/aq_resizer.php on line 136

    [Thu Jun 20 12:55:29.351223 2019] [:error] [pid 16795] [client 172.68.59.140:23838] PHP Notice: Undefined offset: 1 in /var/www/html/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/aq_resizer.php on line 124

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    That’s strange, Can you update to the latest version 0.9.97.60 to see if that fixes the issue.
    If not then I will raise a bug report on our Github repo.

    Matt

    (@intellivision)

    Just updated to Version 0.9.97.60

    A new one, rarely seen in the logs, probably seen only when loading the admin plugins page:

    PHP Notice: Undefined index: ampforwp-amp-on-off in /var/www/html/wp/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 809, referer: https://www.matthewsvolvosite.com/wp/wp-admin/plugins.php?plugin_status=all&paged=1&s

    And the old ones remain:

    [Thu Jun 27 10:37:09.746304 2019] [:error] [pid 9422] [client 108.162.246.79:30840] PHP Notice: Undefined variable: img_path in /var/www/html/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/aq_resizer.php on line 135

    [Thu Jun 27 10:30:20.533083 2019] [:error] [pid 9195] [client 108.162.221.121:64716] PHP Notice: Undefined offset: 1 in /var/www/html/wp/wp-content/plugins/accelerated-mobile-pages/includes/vendor/aq_resizer.php on line 124

    Thank you

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I have created a bug report for this. We will fix this in the future updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.