Jump to content

Featured Replies

Posted

Hi All

I'm getting this error when trying to open a page which has a database on it on the frontend. When I try to edit the page I get this error. I can't edit it so I also can't unassign the db on it.

 

TypeError: IPS\cms\Records::get__record_image_thumb(): Return value must be of type string, null returned (0)

#0 /home/espacio/web/espacioprofundo.com/public_html/system/Patterns/ActiveRecord.php(360): IPS\cms\Records->get__record_image_thumb()

#1 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/sources/Records/Records.php(1689): IPS\Patterns\ActiveRecord->__get()

#2 /home/espacio/web/espacioprofundo.com/public_html/system/Theme/Theme.php(3840) : eval()'d code(67): IPS\cms\Records->__get()

#3 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/sources/Blocks/Block.php(360): IPS\Theme\class_content_template_for_block_4->run()

#4 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Widget.php(600): IPS\cms\Blocks\Block->getTemplate()

#5 /home/espacio/web/espacioprofundo.com/public_html/system/Content/Widget.php(572): IPS\Widget->output()

#6 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/widgets/RecordFeed.php(365): IPS\Content\Widget->render()

#7 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/sources/Blocks/Block.php(292): IPS\cms\widgets\RecordFeed->render()

#8 /home/espacio/web/espacioprofundo.com/public_html/system/Theme/Theme.php(3840) : eval()'d code(19): IPS\cms\Blocks\Block::display()

#9 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/widgets/Codemirror.php(142): IPS\Theme\content_widget_1923160049()

#10 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Widget.php(1282): IPS\cms\widgets\Codemirror->render()

#11 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Widget.php(1392): IPS\Widget->_render()

#12 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Area.php(981): IPS\Widget->__toString()

#13 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Area.php(950): IPS\Widget\Area->getWidgetContent()

#14 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Area.php(958): IPS\Widget\Area->totalVisibleWidgets()

#15 /home/espacio/web/espacioprofundo.com/public_html/static/templates/core_front_global.php(23706): IPS\Widget\Area->totalVisibleWidgets()

#16 /home/espacio/web/espacioprofundo.com/public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea()

#17 /home/espacio/web/espacioprofundo.com/public_html/system/Widget/Area.php(288): IPS\Theme\SandboxedTemplate->__call()

#18 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/sources/Pages/Page.php(2230): IPS\Widget\Area->__toString()

#19 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/sources/Pages/Page.php(2124): IPS\cms\Pages\Page->getPageContent()

#20 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/modules/front/pages/page.php(122): IPS\cms\Pages\Page->output()

#21 /home/espacio/web/espacioprofundo.com/public_html/applications/cms/modules/front/pages/page.php(49): IPS\cms\modules\front\pages\page->view()

#22 /home/espacio/web/espacioprofundo.com/public_html/system/Dispatcher/Controller.php(139): IPS\cms\modules\front\pages\page->manage()

#23 /home/espacio/web/espacioprofundo.com/public_html/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute()

#24 /home/espacio/web/espacioprofundo.com/public_html/index.php(16): IPS\Dispatcher->run()

#25 {main}

I'm clueless, I've tried everything with no luck.

Thanks in advance!

Ricardo

  • Community Expert

Is this one hat has been updated from version 4. I suspect that the templates its using are not compatible with version 5, and thats whats causing you issues.

  • Author

Hi Marc,

how can I solve this ?

Best regards

Ricardo

  • Community Expert

You would switch the template to a different if the template is not compatible

  • Author

Hi Jim

Did that but does not work. How can I delete a page with a db assigned ? It's seems to be impossible.

Regards

  • Community Expert

The database itself is the problem as it contains the template so you need to change the database settings for that database to use a new template which is unmodified.

Recently Browsing 0

  • No registered users viewing this page.