[SOLVED] Fatal error: Cannot use object of type GuestbookEntry as array

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

[SOLVED] Fatal error: Cannot use object of type GuestbookEntry as array

Post 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?
Last edited by mechatech on Sun Nov 28, 2010 7:39 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array

Post 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...
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array

Post 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
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array

Post 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
mechatech
Forum Members
Forum Members
Posts: 51
Joined: Thu Oct 25, 2007 5:49 pm

Re: Guestbook: Fatal error: Cannot use object of type GuestbookEntry as array

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [SOLVED] Fatal error: Cannot use object of type GuestbookEntry as array

Post by Dr.CSS »

Those page types were removed a while ago, like page/content type Album...
Post Reply

Return to “Modules/Add-Ons”