Page 1 of 1
[SOLVED] Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sat Nov 27, 2010 9:04 pm
by mechatech
I upgraded a site that was running 1.6 to 1.8.2
The guestbook was running 1.1 i think and was gettingthis: Fatal error: Cannot use object of type GuestbookEntry as array at the time
I upgraded the guestbook to the latest version of 1.3.0 and i'm still getting this error.
Anybody know what i should try?
Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sat Nov 27, 2010 11:13 pm
by Dr.CSS
Did you have a page with content type as guestbook or something... guessing as you don't give much detail... more info = more help...
Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sun Nov 28, 2010 7:13 am
by mechatech
It was and has been set as a page type = Guestbook. I've also tried using the smarty tag, and got this error:
Fatal error: Cannot use object of type GuestbookEntry as array in /home/hoopesto/public_html/tmp/templates_c/Guestbook^%%E5^E56^E5636B77%%module_db_tpl%3AGuestbook%3Bguestbook-entrylist.php on line 30
Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sun Nov 28, 2010 7:29 am
by mechatech
Also, uninstalling the guestbook module and reinstalling removes the error and lets it work fine, but that also removes all of the guestbook entries. There are 83 messages in my guestbook and it's is a default guestbook
Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sun Nov 28, 2010 7:39 am
by mechatech
Well, it's fixed, I created a new additional guestbook, Reloaded the page and the error was gone, this was after I re imported the database after the uninstall/reinstall of the database
And also after changing the page type form guestbook to content and using the smarty tag.
Thanks that was a help I didn't realize you could use a smarty tag in place of the page type.
Re: [SOLVED] Fatal error: Cannot use object of type GuestbookEntry as array
Posted: Sun Nov 28, 2010 7:49 pm
by Dr.CSS
Those page types were removed a while ago, like page/content type Album...