Message 'Deprecated' on custom properties at php7

  • taksejimo
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
6 Anni 4 Mesi fa #2688 da taksejimo
I upgraded PHP 5.6 to php 7.0 on Joomla 3.8.10. A few error messages came out on custom properties 3.1.5.
These messaghes are as follows.

1.Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemMaximenuckmobile has a deprecated constructor in /virtual/efp/public_html/oishii.enopo.net/plugins/system/maximenuckmobile/maximenuckmobile.php on line 11

2.Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemJo_autopost_facebook has a deprecated constructor in /virtual/efp/public_html/oishii.enopo.net/plugins/system/jo_autopost_facebook/jo_autopost_facebook.php on line 22 

3.Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cpContentElement has a deprecated constructor in /virtual/efp/public_html/oishii.enopo.net/administrator/components/com_customproperties/helpers/contentelement.class.php on line 176

If they have been fixed, please let me know what version/release. Otherwise fix them.

Thanks in advance. T. Sejimo

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
6 Anni 4 Mesi fa #2689 da andrea_4g
Risposta da andrea_4g al topic Message 'Deprecated' on custom properties at php7
Messages 1. and 2. are thrown by other extensions.

I can only answer for message 3): that 'notice' has been corrected with version 3.1.28 of Custom Properties.

See this previous forum post about it:
www.solidsystem.it/forum/custom-properti...x/1530-warnings.html

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • taksejimo
  • Autore della discussione
  • Offline
  • Nuovo Utente
  • Nuovo Utente
Di più
6 Anni 4 Mesi fa #2690 da taksejimo
Risposta da taksejimo al topic Message 'Deprecated' on custom properties at php7
Thank you for your quick answer on my three problems.

I found another problem, that warning message as shown below is displayed at the front of search tag.

Warning: in_array() expects parameter 2 to be array, boolean given in /virtual/efp/public_html/oishii.enopo.net/modules/mod_cpsearch/helper.php on line 214

I would appreciate it if you give me any advice.

Thanks and Regards.

Si prega Accesso o Crea un account a partecipare alla conversazione.

Di più
6 Anni 4 Mesi fa #2691 da andrea_4g
Risposta da andrea_4g al topic Message 'Deprecated' on custom properties at php7
You have to:

- Open the Custom Properties Search Module to edit its parameters
- Inspect those parameters under the 'Search Scope Restriction' tab, because they're the ones likely causing the problem.
- Adjust those parameters if required
- Save and Close


See here for a longer explanation:
www.solidsystem.it/forum/custom-properti...ning-array.html#2649

Si prega Accesso o Crea un account a partecipare alla conversazione.

Tempo creazione pagina: 0.129 secondi