This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi there,
We recently encountered an issue with the theme whereby it throws a 500 error code on one of the landing pages that we built: https://studyperth.com.au/coronavirus-information-2
Looking at the error log, we noticed there might be some issue with the CMS or the theme: development.ERROR: ErrorException: call_user_func_array() expects parameter 1 to be a valid callback, class 'Cms\Classes\Controller' does not have a method 'og_image_width' in /home/studyper/public_html/modules/cms/classes/CodeBase.php:112
Any chance you could let us know how we can resolve this issue? Thanks.
we'd need more details on that page content / code and theme used. It looks like a coding error in the theme/page, but we cannot tell from the information you provided.
Hi mjauvin,
Thanks for the follow-up. I've copied the source code of this page onto here: https://gist.github.com/CalvinAtGlide/6597c88df5c8423d3621624570b8ef09
I also got in touch with the theme developer https://octobercms.com/theme/support/ketikidis-octobercms-success/landing-page-thrown-500-error-code but haven't heard back from them yet.
Let us know if you need anything else. Thanks.
The [viewbag]
or other components must go BELOW title/url/layout and any page attributes other than other components
Hi mjauvin,
Thanks for the prompt reply. This is somewhat strange as our client were creating pages using the backend's page builder so it's very unlikely for them to change any of those source code.
Can you help confirm if this is a theme/plugin issue instead of OctoberCMS issue?
Hi mjauvin, we're using this popular OctoberCMS theme https://octobercms.com/theme/ketikidis-octobercms-success which comes with a default page builder.
Hi mjauvin, awesome, thanks so much for your assistances. I will follow up with the theme developer them. Hope you have a nice one.
1-9 of 9