Howard Wilner - GalleryStatus as array
|
wilnerhowardautomax
Joined: 2007-12-12
Posts: 1 |
Posted: Wed, 2007-12-12 03:53
|
|
Hello my name Howard Wilner and im working for automax preowned Framingham, i have a problem with this error... what's the cause? [error] PHP Fatal error: Cannot use object of type GalleryStatus as array in /home/USER/public_html/gallery/modules/core/classes/GalleryDataCache.class on line 839 thank you |
|
| Login or register to post comments |

Posts: 32397
what version of gallery 2 are you using?
see: FAQ: What information is required when I ask for help in the forums?
the error you see stems from a bug in g2. i've fixed it now. thanks.
you can fix your g2 version by applying this change:
http://gallery.svn.sourceforge.net/viewvc/gallery/trunk/gallery2/modules/core/classes/GalleryDataCache.class?r1=17231&r2=17230&pathrev=17231
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 19
Same error, when running "copy keywords into tags" maintainance, it halts the process midways:
Fatal error: Cannot use object of type GalleryStatus as array in /home/reinfjor/public_html/modules/core/AdminMaintenance.inc on line 128
Gallery 2.3 installed. Suggestions?
Posts: 32397
@danespen:
that's a bug in the tags module.
fix:
in modules/tags/classes/KeywordsToTags.class function run(), replace every instance of:
return $ret;
with
return array($ret, false, null);
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 19
Thank you valiant, that got me a little further!
Now I get this error, and have no idea how to troubleshoot (too many file references) - should I make a new thread?: