Page 1 of 1

template minimal2022sidebarright

Posted: Tue 21. May 2024, 16:20
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....

Re: template minimal2022sidebarright

Posted: Tue 21. May 2024, 17:00
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

Re: template minimal2022sidebarright

Posted: Tue 21. May 2024, 18:50
by roze
Gert,

a great solution for me.

thanks