Deprecated functions in controller.php

More
1 month 2 weeks ago #85496 by flodariege
Bonjour,

J'avais un problème de tâches post-installation qui ne voulaient pas se mettre à jour (après migration vers J4), mais après avoir remplacé le installer.php dans administrator/components/com_flexicontent avec le fichier mis à dispo par @micker dans  www.flexicontent.org/forum/20-general-su...ot-update.html#83114  , j'ai pu passer la post-installation et ré-accéder à mes contenus.

Toutefois, depuis, j'ai des messages m'indiquant que le contenu de ce controller.php serait pour partie "deprecated". Ce n'est pas très grave et disparaîtra dès que j'aurai remis le rapport d'erreur sur Aucun, mais peut-être existe-t-il une version plus récente du fichier controller.php que j'aurais dû utiliser ?

Voici les messages du rapport d'erreurs qui s'affichent sur le front-end :Deprecated: Creation of dynamic property FlexicontentController:$option is deprecated in /homepages/7/xxxxx/htdocs/xxxxx/components/com_flexicontent/controller.php on line 61Deprecated: Creation of dynamic property FlexicontentController:$view is deprecated in /homepages/7/xxxxx/htdocs/xxxxx/components/com_flexicontent/controller.php on line 63Deprecated: Creation of dynamic property FlexicontentController:$format is deprecated in /homepages/7/xxxxx/htdocs/xxxxx/components/com_flexicontent/controller.php on line 64Deprecated: Creation of dynamic property FlexicontentController:$refererURL is deprecated in /homepages/7/xxxxx/htdocs/xxxxx/components/com_flexicontent/controller.php on line 67Deprecated: Creation of dynamic property FlexicontentController:$returnURL is deprecated in /homepages/7/xxxxx/htdocs/xxxxx/components/com_flexicontent/controller.php on line 72Merci.

Dare to dream, believe the unbelievable, never take no for an answer

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

More
1 month 2 weeks ago #85499 by micker
Le soucis du controller n'arrive que sur des sites locaux .. pas de solution pour l'instant. La version master sur github ne devrait avoir ce soucis de depreciation

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 month 2 weeks ago #85511 by flodariege
Je suis bien sur un clone du site, mais PAS en local : j'ai déployé ce clone sur un sous-domaine (non indexé) du site en production. Donc en ligne.

Tu fais référence au installer.php sur github : si ce n'est pas la même version que le installer.php que tu as partagé il y a un an et 8 mois dans le post auquel je fais référence dans mon premier message, peux-tu me dire dans quel dossier du github je le trouve ?
(je ne dois pas savoir me servir correctement de la recherche sur github, car même en cherchant 'installer.php' sur github.com/FLEXIcontent/flexicontent-cck je ne trouve pas ce fichier.

Merci d'avance.

Dare to dream, believe the unbelievable, never take no for an answer

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

More
1 month 2 weeks ago #85516 by micker

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 month 2 weeks ago - 1 month 2 weeks ago #85525 by flodariege
Aïe aïe aïe ! Ca refait bloquer les messages de post installation sur
Mettre à jour les données de l'item temporaire

J'ai donc remis la précédente version de controller.php en place.

Et avec l'une ou l'autre de ces versions de controller.php, j'ai aussi une liste de fonctions "deprecated" dans un autre fichier de FC : cette liste s'est affichée quand j'ai accédé à l'édition d'un item/article (avant de me déconnecter de l'admin, car ce n'est qu'en m'y reconnectant plus  tard que j'ai de nouveau perdu accès à l'édition des items en bloquant sur les étapes de post installation) :

Deprecated: Creation of dynamic property FlexicontentControllerItems::$view is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 88

Deprecated: Creation of dynamic property FlexicontentControllerItems::$format is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 89

Deprecated: Creation of dynamic property FlexicontentControllerItems::$refererURL is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 92

Deprecated: Creation of dynamic property FlexicontentControllerItems::$returnURL is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 97

Deprecated: Creation of dynamic property FlexicontentControllerItems::$canManage is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 100

Deprecated: Creation of dynamic property FlexicontentControllerItems::$err_locked_recs_changestate is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 107

Deprecated: Creation of dynamic property FlexicontentControllerItems::$err_locked_recs_delete is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 108

Deprecated: Creation of dynamic property FlexicontentControllerItems::$err_noauth_recs_changestate is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 109

Deprecated: Creation of dynamic property FlexicontentControllerItems::$err_noauth_recs_delete is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 110

Deprecated: Creation of dynamic property FlexicontentControllerItems::$warn_locked_recs_skipped is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 113

Deprecated: Creation of dynamic property FlexicontentControllerItems::$warn_locked_recs_skipped_del is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 114

Deprecated: Creation of dynamic property FlexicontentControllerItems::$warn_noauth_recs_skipped is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 115

Deprecated: Creation of dynamic property FlexicontentControllerItems::$warn_noauth_recs_skipped_del is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 116

Deprecated: Creation of dynamic property FlexicontentControllerItems::$msg_relations_deleted is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/controllers/base/baseadmin.php on line 119

(...)

Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$option is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/models/base/base.php on line 676

Deprecated: Creation of dynamic property Joomla\CMS\Form\Form::$context is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/models/base/base.php on line 677

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/7/***/htdocs/25aou2024/plugins/flexicontent_fields/image/image.php on line 124

Deprecated: Creation of dynamic property FcFormLayoutParameters::$type_lbl is deprecated in /homepages/7/***/htdocs/25aou2024/administrator/components/com_flexicontent/views/item/tmpl/layouts/tabs/parse_parameters.php on line 122

Que dois-je faire pour régler ça ?

Merci.

Dare to dream, believe the unbelievable, never take no for an answer
Last edit: 1 month 2 weeks ago by flodariege.

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

More
1 month 2 weeks ago #85530 by micker
j'ai pas ce soucis c'est quelle version de php ? (apres c'est que du depreceate)

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.315 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