search-view: Call to undefined method FLEXIcontentViewSearch::getUserStatePrefs()

More
1 year 11 months ago #83182 by kath
Hi there,

I updated a site to joomla 4, and I want to override [com_flexicontent\views\search\tmpl\default.php] again like I did in joomla.
But now I get error
"Call to undefined method FLEXIcontentViewSearch::getUserStatePrefs()" (seems to be line 65)

What can I do to fix that?
Thanks :)

 

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #83183 by micker
how did you create your override ? i can't reproduce this error
1 go to template zone
2 edit your template
3 use create override tab
4 select your view

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #83188 by kath
Ah ok; I "solved" it by taking out the cookie-related code near line 65. (New Website is on the way anyway, so that's enough for now.)

I had created my override manually: Copied
\components\com_flexicontent\views\search\tmpl\default.php
to
\templates\[mytmpl]\html\com_flexicontent\search\default.php

But thanks anyway, that solves it for now. :)

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #83190 by micker
thanks for return

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.352 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline