Problem with Guestbook following upgrade 5.5 -> 5.6
Permalink
Hi, Hope this is the right area to post a problem I am having?
First site using C5 has been up & running for a couple of months now. I have just signed in to my test site and found the upgrade to 5.6 is waiting for me - allowed it to upgrade and then discovered that the guest book block that I have modified is no longer working.
Getting the error
I copied the original GuestBook block to the root level block folder & modified the code there - I only changed the labels as I wanted to use the guestbook as a simple moderated for sale/wanted column. So I changed the labels to say advert instead of comment. All was working fine until the upgrade on the test site.
I have checked the code again & it is still the same, no oddities have appeared, the permissions on the custom block folder are (still)755. I renamed the folder guestbook_old and the guestbook block then runs using the standard guestbook. Copied the standard guestbook to the root/block/guestbook folder and it breaks again.
I also have a custom autonav in the root/block folder & this is still working which surprises me as that did introduce actual new code!
I've cleared out the cache on the site & the browsers.
Now completely stuck and not sure where to go next. Any help appreciated.
First site using C5 has been up & running for a couple of months now. I have just signed in to my test site and found the upgrade to 5.6 is waiting for me - allowed it to upgrade and then discovered that the guest book block that I have modified is no longer working.
Getting the error
Fatal error: Call to undefined method GuestbookBlockController::getPermissionsObject()
I copied the original GuestBook block to the root level block folder & modified the code there - I only changed the labels as I wanted to use the guestbook as a simple moderated for sale/wanted column. So I changed the labels to say advert instead of comment. All was working fine until the upgrade on the test site.
I have checked the code again & it is still the same, no oddities have appeared, the permissions on the custom block folder are (still)755. I renamed the folder guestbook_old and the guestbook block then runs using the standard guestbook. Copied the standard guestbook to the root/block/guestbook folder and it breaks again.
I also have a custom autonav in the root/block folder & this is still working which surprises me as that did introduce actual new code!
I've cleared out the cache on the site & the browsers.
Now completely stuck and not sure where to go next. Any help appreciated.