Support » Plugin: Gallery by BestWebSoft » Error When Trying to Delete Images.

  • Resolved Mad Jack



    I’m getting an error when trying to delete images. I created a gallery, uploaded the images and published the gallery. I then deleted an image and clicked on the ‘update’ button and I got the following error message

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /usr/home/xphotog/domains/ on line 2996
    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/xphotog/domains/ in /usr/home/xphotog/domains/ on line 876

    Please could you tell me how to edit the code to get rid of the error message and allow me to delete images.

    Thanks for the great plugin BTW šŸ™‚

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same issue … any answer?? thanks

    Changing the line 2996 of post.php to $postarr = array_merge((array)$post, $postarr); worked for me

    worked for me also, thank you very much!
    But do this have a effect on other pages?

    doubled thanks for solution. It works! Thanks!

    I just had the same issue and used doubleds’ work around and it worked also but I was wondering if there is any fix going to be made to the plugin? Everytime we update wordpress we will have the same issue again and I’m not sure this won’t cause other issues.

    Plugin Author bestwebsoft



    We fixed this problem. Please update the plugin to the latest version.

    Kind regards,
    Support Team

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error When Trying to Delete Images.’ is closed to new replies.