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
Posts: 32509
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: 32509
@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?: