template minimal2022sidebarright

Designvorlagen
Post Reply
roze
Posts: 22
Joined: Wed 18. Sep 2013, 11:03

template minimal2022sidebarright

Post by roze »

I have a issue that seems to be related to the template minimal2022sidebarright

At the bottom af a page I get this message:

Code: Select all

Unknown error type: [8192] strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated
/home/stichtingvaart.nl/public_html/templates/minimal2022sidebarright/templatefuncs/templatefuncs.php:385
line 385 says:

Code: Select all

if(tf_submenu() == '' && $s >=0 && strstr(toc($l[$s],$l[$s]),'<a'))
an example of such a page:

https://www.stichtingvaart.nl/?2024_%7C ... an_Leeuwen

I have not the skills to understand what is goining wrong....
Rob | Valkenswaard NL
Gert
Posts: 2140
Joined: Sun 18. Nov 2012, 14:18

Re: template minimal2022sidebarright

Post by Gert »

Hi Rob,

your template is a little bit older (from 2022). Simpliest (but not a real) solution: deactivate DebugMode ;)

Better solution:

Download the newest Template from ge-webdesign.de and overwrite the file ".../the_template/templatefuncs/templatefuncs.php" in your template with the templatefuncs.php from the newest template.

Please consider: A templatefuncs.php from a OnePage template will not work in a normal template,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
roze
Posts: 22
Joined: Wed 18. Sep 2013, 11:03

Re: template minimal2022sidebarright

Post by roze »

Gert,

a great solution for me.

thanks
Rob | Valkenswaard NL
Post Reply