- Posts: 8
- Thank you received: 0
warning array
- ooya
- Topic Author
- Offline
- New Member
Less
More
6 years 11 months ago #2648
by ooya
warning array was created by ooya
Hi,
I am just CP beginner.
I upgraded CP to the latest version in a developement site (made with Joomla 3.8.3 )
with PHP 5.6 but I receive this warning in frontend page:
Warning: in_array() expects parameter 2 to be array, boolean given in
/home/hira/www/mysite/modules/mod_cpsearch/helper.php on line 213
Where should I check this?
thanks.
ooya
I am just CP beginner.
I upgraded CP to the latest version in a developement site (made with Joomla 3.8.3 )
with PHP 5.6 but I receive this warning in frontend page:
Warning: in_array() expects parameter 2 to be array, boolean given in
/home/hira/www/mysite/modules/mod_cpsearch/helper.php on line 213
Where should I check this?
thanks.
ooya
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 11 months ago - 6 years 11 months ago #2649
by andrea_4g
Replied by andrea_4g on topic warning array
Hi,
you need to edit the Custom Properties Search module (or modules), and save it.
That should fix it.
== longer explanation ==
Some parameters (i.e. the one that lists categories) in Custom Properties modules have changed over time to remain compatible with the latest Joomla releases.
If you upgraded CP, you still have those parameters stored in the DB in the old format.
As soon as you edit and save the CP Search (or other CP modules) those parameters will be stored in the new format and the error will disappear.
you need to edit the Custom Properties Search module (or modules), and save it.
That should fix it.
== longer explanation ==
Some parameters (i.e. the one that lists categories) in Custom Properties modules have changed over time to remain compatible with the latest Joomla releases.
If you upgraded CP, you still have those parameters stored in the DB in the old format.
As soon as you edit and save the CP Search (or other CP modules) those parameters will be stored in the new format and the error will disappear.
Last edit: 6 years 11 months ago by andrea_4g. Reason: added longer explanation
Please Log in or Create an account to join the conversation.
- ooya
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
6 years 11 months ago #2650
by ooya
Replied by ooya on topic warning array
Thank you for your suggestion and pointing out.
I entered the CP search module and just tried to "save", but the warning message does not disappear.
What do you do with your meaning of "edit"? Is it to rewrite parameter values?
Or, once uninstalling all CPs, is it effective to install new CP again?
thanks
ooya
I entered the CP search module and just tried to "save", but the warning message does not disappear.
What do you do with your meaning of "edit"? Is it to rewrite parameter values?
Or, once uninstalling all CPs, is it effective to install new CP again?
thanks
ooya
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 11 months ago #2651
by andrea_4g
Replied by andrea_4g on topic warning array
I strongly advise you against uninstalling Custom Properties, because in doing so you lose all previously created CP tags and the associations with articles.
What I meant is:
- Enter a CP Search Module to edit its parameters
- Inspect those under the tab 'Search Scope Restriction', because they're the ones likely causing the problem.
- Adjust those parameters if required
- Save and Close
== Note ==
The same incompatiblity problem could also effect:
- Custom Properties Tags Cloud module
- Custom Properties Menu module
and
- Custom Properties Layout *menu items*
The procedure's always the same: edit-> revise params -> save
What I meant is:
- Enter a CP Search Module to edit its parameters
- Inspect those under the tab 'Search Scope Restriction', because they're the ones likely causing the problem.
- Adjust those parameters if required
- Save and Close
== Note ==
The same incompatiblity problem could also effect:
- Custom Properties Tags Cloud module
- Custom Properties Menu module
and
- Custom Properties Layout *menu items*
The procedure's always the same: edit-> revise params -> save
Please Log in or Create an account to join the conversation.
- ooya
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
6 years 11 months ago #2652
by ooya
Replied by ooya on topic warning array
thanks your advises.
I first recognized the tab 'Search Scope Restriction'.
I think that this was never before.
Well, here is the setting below.
---
Bind to content element: Not installed
Bind to category (es): blanc (Search all categories)
Category selector: No
Sort categories alphabetically: No
---
'Bind to content element' can not be selected, but does something need to be installed?
I specified a category in 'Bind to category (es) in the test, but the warning message has not changed.
I think that this specification is good for other parameters.
thanks
ooya
I first recognized the tab 'Search Scope Restriction'.
I think that this was never before.
Well, here is the setting below.
---
Bind to content element: Not installed
Bind to category (es): blanc (Search all categories)
Category selector: No
Sort categories alphabetically: No
---
'Bind to content element' can not be selected, but does something need to be installed?
I specified a category in 'Bind to category (es) in the test, but the warning message has not changed.
I think that this specification is good for other parameters.
thanks
ooya
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
6 years 11 months ago - 6 years 11 months ago #2653
by andrea_4g
Here you can find a more detailed explanation about that:
www.solidsystem.it/forum/custom-properti...-installed.html#2619
Also, I contacted you by email to ask for more info.
Replied by andrea_4g on topic warning array
'Bind to content element' can not be selected, but does something need to be installed?
Here you can find a more detailed explanation about that:
www.solidsystem.it/forum/custom-properti...-installed.html#2619
Also, I contacted you by email to ask for more info.
Last edit: 6 years 11 months ago by andrea_4g.
Please Log in or Create an account to join the conversation.
Time to create page: 0.187 seconds