Support » Plugin: WoW Armory Character » [Plugin: WoW Armory Character] Error: "arsort() expects parameter 1 to be array"

  • Resolved dt10111

    (@dt10111)


    Hey!

    I just updated the plugin a second ago and my page is getting this error when rendering in the page:

    Warning: Invalid argument supplied for foreach() in /home/dt10111/daniel.bottle-imp.com/wp-content/plugins/wow-armory-character/class-wow-armory-character.php on line 78

    The shortcode I am using is:

    [armory-character realm=”Sargeras” name=”Aani” region=”US”]

    You can see it in action:

    http://daniel.bottle-imp.com/media/world-of-warcraft/

    Glad to see you adding activity feed in some capacity, been hoping for that for a while. Let me know if you have any ideas on how to resolve this. I didn’t want to go poking around the code myself, I’m too much of a noob.

    http://wordpress.org/extend/plugins/wow-armory-character/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Adam

    (@blueajcooper)

    I’ve just tried the short code on my dev. environment and it appears to work fine.

    Please could you try clearing the Character Cache for Aani and try to view the page again? The error suggests an armoury glitch of some kind where your achievement data wasn’t returned properly.

    I’ll work on getting some error handling in there so that it catches this in the future.

    Thread Starter dt10111

    (@dt10111)

    Clearing the cache seemed to take care of it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WoW Armory Character] Error: "arsort() expects parameter 1 to be array"’ is closed to new replies.