Fatal error: Cannot use object of type GuestbookEntry as arr
Posted: Mon Nov 28, 2011 7:49 pm
Hi,
I recently upgraded from CMSMS v1.6.4) to v1.9.4.3.
I got an error with Guestbook straight away: -
Fatal error: Call to undefined function nl2pnbr() in /home/username/ public_html/modules/Guestbook/action.get-entrylist.php on line 46
And so had a look and noticed an upgrade for Guestbook to version 1.3.3.2, which I upgraded to.
Now I get a different error: -
Fatal error: Cannot use object of type GuestbookEntry as array in /home/username/public_html/tmp/templates_c/Guestbook^%%E5^E56^E5636B77%%module_db_tpl%3AGuestbook%3Bguestbook-entrylist.php on line 30
I saw http://forum.cmsmadesimple.org/viewtopi ... =7&t=49451 and tried changing the content type from "guestbook" to "content" then using the smarty tag for content: -
{cms_module module="Guestbook" guestbook="1" number=10 textleng="250" shownow=0 smiley=0 mailnoti=user@domain.comk dateformat="%d-%m-%Y %H:%M"}
But this still gives the same error. Any ideas on how I can fix this? There are a lot of entries and I don't want to uninstall and reinstall the module or do anything with the database...not at this stage, anyway (although it seems that's what fixed the thread linked to above, although not much details was given).
I recently upgraded from CMSMS v1.6.4) to v1.9.4.3.
I got an error with Guestbook straight away: -
Fatal error: Call to undefined function nl2pnbr() in /home/username/ public_html/modules/Guestbook/action.get-entrylist.php on line 46
And so had a look and noticed an upgrade for Guestbook to version 1.3.3.2, which I upgraded to.
Now I get a different error: -
Fatal error: Cannot use object of type GuestbookEntry as array in /home/username/public_html/tmp/templates_c/Guestbook^%%E5^E56^E5636B77%%module_db_tpl%3AGuestbook%3Bguestbook-entrylist.php on line 30
I saw http://forum.cmsmadesimple.org/viewtopi ... =7&t=49451 and tried changing the content type from "guestbook" to "content" then using the smarty tag for content: -
{cms_module module="Guestbook" guestbook="1" number=10 textleng="250" shownow=0 smiley=0 mailnoti=user@domain.comk dateformat="%d-%m-%Y %H:%M"}
But this still gives the same error. Any ideas on how I can fix this? There are a lot of entries and I don't want to uninstall and reinstall the module or do anything with the database...not at this stage, anyway (although it seems that's what fixed the thread linked to above, although not much details was given).