Jump to content

Featured Replies

Posted

I am getting an error template errors when Clubs is enabled. I'm using Invision Community 5. My installation is a brand new install. This error occurred right after the installation and clubs were enabled. My test install doesn't have this error but my production install does.

Clubs Setting - Display View: Grid

Front-End:

[[Template core/front/clubs/clubCard is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

System Logs (Back-End)

TypeError: Cannot assign null to property IPS\Helpers\CoverPhoto::$offset of type int in /home/.../public_html/system/Member/Club/Club.php:957

Stack trace:

#0 /home/.../public_html/static/templates/core_front_clubs.php(11): IPS\Member\Club->coverPhoto(false)

#1 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->clubCard(Object(IPS\Member\Club))

#2 /home/.../public_html/static/templates/core_front_clubs.php(1900): IPS\Theme\SandboxedTemplate->__call('clubCard', Array)

#3 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->directory(Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator), '\n\n', Object(IPS\Http\Url\Friendly), 'last_activity', NULL, NULL, 'grid', false)

#4 /home/.../public_html/applications/core/modules/front/clubs/directory.php(279): IPS\Theme\SandboxedTemplate->__call('directory', Array)

#5 /home/.../public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\clubs\directory->manage()

#6 /home/.../public_html/applications/core/modules/front/clubs/directory.php(88): IPS\Dispatcher\Controller->execute()

#7 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\directory->execute()

#8 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#9 {main}

BACKTRACE

#0 /home/.../public_html/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: Cann...', 'template_error')

#1 /home/.../public_html/static/templates/core_front_clubs.php(1900): IPS\Theme\SandboxedTemplate->__call('clubCard', Array)

#2 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->directory(Object(IPS\Patterns\ActiveRecordIterator), Object(IPS\Patterns\ActiveRecordIterator), '\n\n', Object(IPS\Http\Url\Friendly), 'last_activity', NULL, NULL, 'grid', false)

#3 /home/.../public_html/applications/core/modules/front/clubs/directory.php(279): IPS\Theme\SandboxedTemplate->__call('directory', Array)

#4 /home/.../public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\clubs\directory->manage()

#5 /home/.../public_html/applications/core/modules/front/clubs/directory.php(88): IPS\Dispatcher\Controller->execute()

#6 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\directory->execute()

#7 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#8 {main}

Setting - Display Club information: In the sidebar

Front-End: error

[[Template core/front/clubs/header is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

System Log (Back-End)

TypeError: Cannot assign null to property IPS\Helpers\CoverPhoto::$offset of type int in /home/.../public_html/system/Member/Club/Club.php:957

Stack trace:

#0 /home/.../public_html/static/templates/core_front_clubs.php(2368): IPS\Member\Club->coverPhoto(true, 'sidebar')

#1 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->header(Object(IPS\Member\Club), NULL, 'sidebar')

#2 /home/.../public_html/applications/core/modules/front/clubs/view.php(144): IPS\Theme\SandboxedTemplate->__call('header', Array)

#3 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\view->execute()

#4 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#5 {main}

BACKTRACE

#0 /home/.../public_html/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: Cann...', 'template_error')

#1 /home/.../public_html/applications/core/modules/front/clubs/view.php(144): IPS\Theme\SandboxedTemplate->__call('header', Array)

#2 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\view->execute()

#3 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#4 {main}

Setting - Display Club information: In the header

Font-End error

[[Template core/front/clubs/header is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

System Log (Back-End)

TypeError: Cannot assign null to property IPS\Helpers\CoverPhoto::$offset of type int in /home/.../public_html/system/Member/Club/Club.php:957

Stack trace:

#0 /home/.../public_html/static/templates/core_front_clubs.php(2276): IPS\Member\Club->coverPhoto(true, 'full')

#1 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->header(Object(IPS\Member\Club))

#2 /home/.../public_html/static/templates/core_front_clubs.php(5351): IPS\Theme\SandboxedTemplate->__call('header', Array)

#3 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->view(Object(IPS\Member\Club), Array, Array)

#4 /home/.../public_html/applications/core/modules/front/clubs/view.php(266): IPS\Theme\SandboxedTemplate->__call('view', Array)

#5 /home/.../public_html/applications/core/modules/front/clubs/view.php(189): IPS\core\modules\front\clubs\view->overview()

#6 /home/.../public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\clubs\view->manage()

#7 /home/.../public_html/applications/core/modules/front/clubs/view.php(164): IPS\Dispatcher\Controller->execute()

#8 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\view->execute()

#9 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#10 {main}

BACKTRACE

#0 /home/.../public_html/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: Cann...', 'template_error')

#1 /home/.../public_html/static/templates/core_front_clubs.php(5351): IPS\Theme\SandboxedTemplate->__call('header', Array)

#2 /home/.../public_html/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_clubs->view(Object(IPS\Member\Club), Array, Array)

#3 /home/.../public_html/applications/core/modules/front/clubs/view.php(266): IPS\Theme\SandboxedTemplate->__call('view', Array)

#4 /home/.../public_html/applications/core/modules/front/clubs/view.php(189): IPS\core\modules\front\clubs\view->overview()

#5 /home/.../public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\clubs\view->manage()

#6 /home/.../public_html/applications/core/modules/front/clubs/view.php(164): IPS\Dispatcher\Controller->execute()

#7 /home/.../public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\clubs\view->execute()

#8 /home/.../public_html/index.php(21): IPS\Dispatcher->run()

#9 {main}

  • Community Expert

Did you upload any cover photos or do anything?

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

Recently Browsing 0

  • No registered users viewing this page.