WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. toddneufeld
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/hello-simpsons-chalkboard-gag/

  2. Dan Rossiter
    Member
    Plugin Author

    Posted 1 year 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!
    -Dan

  3. toddneufeld
    Member
    Posted 1 year ago #

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

    Thanks!

  4. Dan Rossiter
    Member
    Plugin Author

    Posted 1 year ago #

    Glad it worked!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.