WP-SimpleViewer » How-to and Troubleshooting

Fatal error...line 992, OH NOES!!

(7 posts)
  • Started 8 months ago by danadoesdesign
  • Latest reply from billc108

  1. Hey all, I'm getting the following error from the admin page when I chose my gallery there and tried to proceed.

    Fatal error: Cannot use string offset as an array in /home/jandy0/public_html/danadoesdesign/wp-content/plugins/wp-simpleviewer/wp-simpleviewer-admin.php on line 992

    And I can't find one with this exact line 992 in the archives, I am not even clear if that matters — this is my first time doing this.

    The gallery appears on my site page, but I get X's for thumbs and the main image. The file names appear though, in the caption area. Here's a link to it:

    http://danadoesdesign.com/graphic-design/

    Thoughts? I've read something about PHP settings and I don't know where to adjust that, and I have also read soemthing about setting server permissions to "777", and I have no idea what that means but have an email out to the guy who has the server where my site lives.

    Any advice would be very, very appreciated!!!

    Posted 8 months ago #
  2. Update- permissions have been changed to read/write, now though, I'm getting one X loading in the gallery on that same link I posted above, and the same error when I try to go through the steps on the media panel.

    Anyone? Bueller? Bueller?

    Posted 8 months ago #
  3. When I check your webpage it looks like you got this solved, right?

    Posted 6 months ago #
  4. I am having the same problem described above.

    The gallery appears on my blog, but the images are all "x"

    Here's a link: http://www.labyrinthvisuals.com/wordpress/

    I have reset all the folders to read and write and the "Octal" to 777. Can anyone help? I will continue to work on it until I get it right, but if you know how to fix this...it would be greatly appreciated!!!

    Thx, Brian

    Posted 1 month ago #
  5. @brianmcdonough: I think those are two different problems.

    The "x" typically means that you don't have your path to the images correct. Right click on the x and it should try to load the image in a new window (assuming you have it set to do that). You'll probably get a 404 not found, but it'll have what it *thinks* should be the correct path in the address bar. Check that against the actual path to your image, then correct the path settings. In mine it's "wp-content/photos/galleryname/thumbs/" and "wp-content/photos/galleryname/images/", as that's where the images live on my server.

    @danadoesdesign: I've got a similar problem. Mine gives "Warning: Invalid argument supplied for foreach()" in the same file, on line 991, so there was probably a release between your original post and now. I'm currently using WP 2.8.4 as I develop this site (started months ago, client stalled, just got back to it) but will be upgrading to 3.0 before going live.

    This is a pretty big deal for me, as the client specifically wanted to be able to update his galleries himself and we can't do that at the moment.

    Posted 1 month ago #
  6. got the "fatal error" message as well...

    Posted 4 weeks ago #
  7. @clairehutchins: Which fatal error did you get? Line 992 or 991? If 992, try upgrading to the current version - I think that problem got fixed.

    If 991, it probably has to do with how you created your galleries. I had done mine by hand based on an earlier, non-WordPress site, and had just ported them over. They worked fine in the browser but borked with an error on 991 when trying to update captions and such. I ended up rebuilding the galleries from scratch through the WP interface and they're all working properly now.

    Posted 3 weeks ago #

RSS feed for this topic

Reply

You must log in to post.