The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Hello Simpsons Chalkboard Gag
[resolved] Error showing at the top of the page (4 posts)

  1. Todd
    Posted 3 years ago #

    I'm getting this error on the top of my admin page. It's a multi-site installation. Do you have a fix for it?

    Warning: array_rand() expects parameter 1 to be array, string given in /home/todd/public_html/wp-content/plugins/hello-simpsons-chalkboard-gag/hello-simpsons-chalkboard-gag.php on line 22


  2. Dan Rossiter
    Plugin Author

    Posted 3 years ago #

    Hi toddneufeld,

    What time did you install the plugin? The plugin pulls all of the chalkboard gags from a remote repository (a pastebin.com page). Pastebin was being attacked by hackers yesterday and they were down for quite a bit.

    It's possible that you picked up some weird content during that time that didn't match what the plugin was expecting.

    I've just pushed a new version (1.2.1) that will prevent the error you're seeing now in the future.

    For you, would you mind deactivating the plugin and then reactivating it? On deactivation, the plugin purges its local records so it will force it to get a new version of everything which, I'm hoping will fix your issue. If not, there are some other things we can try.

    All the best!

  3. Todd
    Posted 3 years ago #

    You're probably right, and starting over from 1.2.1 seems to be working.


  4. Dan Rossiter
    Plugin Author

    Posted 3 years ago #

    Glad it worked!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hello Simpsons Chalkboard Gag
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.