Jump to content

In records from Pages : "Error: Call to a member function url() on bool (0)"


Go to solution Solved by Randy Calvert,

Recommended Posts

Posted

Hi

Since I upgrade from 4.2.6 to 4.7.3 I have a lot of problems.

One of them, is from Pages, when I try to go on a record.

Exemple :

http://www.depeche-mode.be/tour/global-spirit-tour/07052017-amsterdam/
http://www.depeche-mode.be/magazines/2020-2021/classic-pop-r1824/

receive this error :

Error: Call to a member function url() on bool (0)
#0 /home3/depechem/public_html/applications/cms/modules/front/database/record.php(341): IPS\Theme\class_cms_database_magazines_display->record()
#1 /home3/depechem/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\database\_record->manage()
#2 /home3/depechem/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#3 /home3/depechem/public_html/applications/cms/sources/Databases/Dispatcher.php(343): IPS\Content\_Controller->execute()
#4 /home3/depechem/public_html/applications/cms/widgets/Database.php(128): IPS\cms\Databases\_Dispatcher->run()
#5 /home3/depechem/public_html/applications/cms/sources/Pages/Page.php(1289): IPS\cms\widgets\_Database->render()
#6 /home3/depechem/public_html/applications/cms/sources/Pages/Page.php(2269): IPS\cms\Pages\_Page->getWidgets()
#7 /home3/depechem/public_html/applications/cms/modules/front/pages/page.php(116): IPS\cms\Pages\_Page->output()
#8 /home3/depechem/public_html/applications/cms/modules/front/pages/page.php(43): IPS\cms\modules\front\pages\_page->view()
#9 /home3/depechem/public_html/system/Dispatcher/Controller.php(118): IPS\cms\modules\front\pages\_page->manage()
#10 /home3/depechem/public_html/applications/cms/modules/front/pages/page.php(33): IPS\Dispatcher\_Controller->execute()
#11 /home3/depechem/public_html/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\pages\_page->execute()
#12 /home3/depechem/public_html/index.php(13): IPS\_Dispatcher->run()
#13 {main}

How Can I solved that ?

 

Thanks

Posted

This would indicate you have custom pages templates which are no longer compatible with the latest release. You would need to switch to default templated, or update those to be compatible.

Posted
10 hours ago, Marc Stridgen said:

This would indicate you have custom pages templates which are no longer compatible with the latest release. You would need to switch to default templated, or update those to be compatible.

Thanks @Marc Stridgen
But I don't understand why this page work : http://www.depeche-mode.be/magazines/1980-1989/best-r967/

But this page doesn't work : http://www.depeche-mode.be/magazines/2020-2021/classic-pop-r1855/

The same database, with the same template (other category)

It's the same with other database

work : http://www.depeche-mode.be/tour/1980-tour/londres-r14/

doesn't work : http://www.depeche-mode.be/tour/global-spirit-tour/07052017-amsterdam/

  • Solution
Posted

This depends on the logic within the template. The one working may not be accessing the problematic part of the code this never trigger an error. 

Unfortunately IPS does not offer support regarding custom templates.  If you’re not comfortable troubleshooting them, there are 3rd party resources available that have Pages expertise. The link below filters known developers to those that have specific expertise with Pages. 

https://invisioncommunity.com/third-party/providers/?csrfKey=9c8c2aa561a6c7a9638d13ebd1fce539&advanced_search_submitted=1&sortby=primary_id_field&sortdirection=asc&content_field_124[1]=7

@opentype I know is great with the Pages application… he is able to make it sit-up and do tricks. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...