PHP compatibility
- This topic has 10 replies, 3 voices, and was last updated 3 years, 4 months ago by
Zex.
-
AuthorPosts
-
December 10, 2019 at 12:22 pm #21647
SMTGLOW
ParticipantHi,
Could you confirm which versions of PHP agama is compatible up to?
Thanks,
Allan
December 16, 2019 at 2:38 pm #21872SMTGLOW
ParticipantHaving done some testing with PHP 7.3, we have had 8 compatibility warnings. Can you advise if there will be a new release for compatibility or if anything needs changed (details below)?
Thanks,
FILE: …thub/agama-pro/framework/admin/kirki/core/class-kirki-helper.php
———————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————-
46 | WARNING | Since PHP 7.0, functions inspecting arguments, like
| | func_get_args(), no longer report the original value
| | as passed to a parameter, but will instead provide
| | the current value. The parameter “$array” was used,
| | and possibly changed (by reference), on line 34.
———————————————————————-FILE: …-pro/framework/admin/modules/icon-picker/icon-picker-control.php
———————————————————————-
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 7 LINES
———————————————————————-
35 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
36 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
38 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
39 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
41 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
42 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
44 | WARNING | Closures / anonymous functions only have access to
| | $this if used within a class or when bound to an
| | object using bindTo(). Please verify.
———————————————————————-January 6, 2020 at 10:28 am #22729SMTGLOW
ParticipantHi,
Could this be updated please? We’re trying to make Agama available in a multi-site environment with around 200,000 sites so need some more details on this.
Thanks,
Allan
January 11, 2020 at 11:41 am #22902Zex
ModeratorHi Allan!
I spoke with the Head Developer and he told me that we plan to release an update to version 1.5.0 in the next few days. Please, let us know if the warnings persist after the update.
Thank you for your patience.
Regards
January 13, 2020 at 3:53 pm #22985SMTGLOW
ParticipantHi,
Could you let me know if there’s planned PHP compatibility or if this has been tested by the developer?
Thanks,
Allan
January 13, 2020 at 8:26 pm #23009Jerry
KeymasterHello Allan,
The Agama theme is compatible with PHP 5.6 up to 7.2.
We will make proper changes to the theme to make it compatible 100% with PHP 7.3.
The newest Agama PRO update will be released very soon.
Best Regards
January 20, 2020 at 12:33 pm #23319SMTGLOW
ParticipantThanks,
We had the previously posted errors when checking compatibility with the current version.
Do you know if there is a fix for this?
Allan
January 21, 2020 at 10:44 am #23404Jerry
Keymaster@SMTGLOW
It’s strange since I cannot reproduce the same PHP warnings, can you guide me on how to reproduce them so I can prepare fixes?
Regards
January 21, 2020 at 4:28 pm #23411SMTGLOW
ParticipantHi,
I’ll speak to our support partner and get back to you.
Thanks,
February 13, 2020 at 10:51 am #24323SMTGLOW
ParticipantHi,
The issues were warnings related to icons and the ‘customize’ admin screen so we can close this as it doesn’t affect the end user and we are planning to upgrade to the new version this month anyway.
We’ve got a query on v1.5.0 https://theme-vision.com/forums/topic/v1-5-0-upgrade
Thanks,
February 13, 2020 at 11:02 am #24325Zex
ModeratorHello SMTGLOW!
Thank you for your feedback.
-
AuthorPosts
- You must be logged in to reply to this topic.