WordPress.org

Ready to get started?Download WordPress

Forums

Amazon Affiliate Link Localizer
Various errors in log (6 posts)

  1. marcelstoer
    Member
    Posted 1 year ago #

    I see a number of errors in the Apache error log:

    PHP Notice: Undefined index: strAction in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 14

    PHP Notice: Undefined variable: arrLinks in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 40

    PHP Notice: Undefined index: Location in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 52, referer: http://frightanic.com/projects/jquery-highlight/

    -> this one I see 1000s of times every day

    PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 139, referer: http://frightanic.com/projects/jquery-highlight/

    PHP Notice: Array to string conversion in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 125, referer: http://frightanic.com/computers/huawei-e220-the-device-has-been-disconnected-or-is-unavailable/

    http://wordpress.org/extend/plugins/amazon-affiliate-link-localizer/

  2. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Marcel,

    Thanks for this, I'll looks into it. I should point out though that these are notices and warnings, rather than errors. Ie, they are advisory rather there actually being any actual problem which would stop anything from working.

    Cheers

    Pete

  3. marcelstoer
    Member
    Posted 1 year ago #

    Yes, I know. Sorry I used the term 'error', it's not accurate.

    The problem is that it's really hard to spot the 10 lines of "real" errors if they're buried in 10k lines of false positives. I get 10k lines in the error log from you plugin on an average day.

  4. PeteWilliams
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Marcel, this should be fixed in version 1.8.3 - please let me know if it works for you.

    Thanks

    Pete

  5. marcelstoer
    Member
    Posted 1 year ago #

    Works fine. So far I've only seen a single message in the error log:

    [Sat Mar 16 13:45:35 2013] [error] [client 194.126.144.2] PHP Notice: Undefined variable: arrShortLinks in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 49, referer: http://frightanic.com/

  6. marcelstoer
    Member
    Posted 1 year ago #

    Meanwhile a few more messages were logged but in general it seems to work fine:

    [Sat Mar 16 15:10:16 2013] [error] [client 93.187.155.30] PHP Notice: Array to string conversion in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 127, referer: http://frightanic.com/apple-mac/wake-on-lan-wol-not-working-in-snow-leopard/
    [Sat Mar 16 15:10:16 2013] [error] [client 93.187.155.30] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 141, referer: http://frightanic.com/apple-mac/wake-on-lan-wol-not-working-in-snow-leopard/
    [Sat Mar 16 15:10:17 2013] [error] [client 93.187.155.30] PHP Notice: Undefined index: Location in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 54, referer: http://frightanic.com/apple-mac/wake-on-lan-wol-not-working-in-snow-leopard/
    [Sat Mar 16 15:33:00 2013] [error] [client 54.240.159.188] PHP Notice: Undefined index: strAffiliateId in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 31
    [Sat Mar 16 15:33:00 2013] [error] [client 54.240.159.188] PHP Notice: Undefined index: strLinks in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 32
    [Sat Mar 16 15:33:00 2013] [error] [client 54.240.159.188] PHP Notice: Undefined index: strShortLinks in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 36
    [Sat Mar 16 15:33:00 2013] [error] [client 54.240.159.188] PHP Notice: Undefined variable: arrShortLinks in /home/frightanic/public_html/blog/wp-content/plugins/amazon-affiliate-link-localizer/ajax.php on line 49

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.