- Messaggi: 8
- Ringraziamenti ricevuti 0
warning array
- ooya
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
6 Anni 11 Mesi fa #2648
da ooya
warning array è stato creato da 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
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
6 Anni 11 Mesi fa - 6 Anni 11 Mesi fa #2649
da andrea_4g
Risposta da andrea_4g al 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.
Ultima Modifica 6 Anni 11 Mesi fa da andrea_4g. Motivo: added longer explanation
Si prega Accesso o Crea un account a partecipare alla conversazione.
- ooya
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 8
- Ringraziamenti ricevuti 0
6 Anni 11 Mesi fa #2650
da ooya
Risposta da ooya al 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
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
6 Anni 11 Mesi fa #2651
da andrea_4g
Risposta da andrea_4g al 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
Si prega Accesso o Crea un account a partecipare alla conversazione.
- ooya
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 8
- Ringraziamenti ricevuti 0
6 Anni 11 Mesi fa #2652
da ooya
Risposta da ooya al 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
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
6 Anni 11 Mesi fa - 6 Anni 11 Mesi fa #2653
da 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.
Risposta da andrea_4g al 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.
Ultima Modifica 6 Anni 11 Mesi fa da andrea_4g.
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.181 secondi