Really Simple Share
[resolved] Error in Admin Panel - Multisite Version (6 posts)

  1. Gnoam
    Posted 2 years ago #

    I updated recently to the 2.15 version of the Really Simple Share Buttons plugin and am receiving two errors on the back-end admin panel of the network of the website where the plugin is install.

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/mryan/public_html/wp-content/plugins/really-simple-facebook-twitter-share-buttons/really-simple-facebook-twitter-share-buttons.php on line 1197
    Warning: Invalid argument supplied for foreach() in /home/mryan/public_html/wp-content/plugins/really-simple-facebook-twitter-share-buttons/really-simple-facebook-twitter-share-buttons.php on line 1200

    Hopefully there's a fix for this or is this something that only a complete fresh re-install can fix?



  2. whiletrue
    Posted 2 years ago #

    Hi Gnoam,
    I'm fixing it soon.

    If you're able to modify plugins through the WP admin page, you can try to add this command to the really-simple-facebook-twitter-share-buttons.php file, on line 1180:
    if (!is_array($option)) { $option = array(); }

  3. Gnoam
    Posted 2 years ago #

    Awesome. That got it. Thanks for the quick response and the fix.

  4. SteveWebWorks
    Posted 2 years ago #

    Got the same error and used your fix to get rid of the warning messages...

    BUT - I cannot save new settings now - the defaults are there but I cannot update them.

    Please help...


  5. whiletrue
    Posted 2 years ago #

    Hi SteveWebWorks,
    it looks like the command is placed wrongly.
    Please check that you're on the 2.15 plugin release and that the newly added command is just after this one:
    $option = get_option('really_simple_share');

  6. SteveWebWorks
    Posted 2 years ago #

    Thanks, I had put the new code in the wrong place.

    All fixed and working now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.