Closed rouviere closed 4 months ago
Hi @rouviere
Is this after you upgraded GWCode Categories? Can you share which PHP version you are using and what error messages you are seeing, if any? You can turn on debug messages in the index.php and admin.php file.
Yes, I upgraded to your latest version and these are the errors I get.
Deprecated
Creation of dynamic property Gwcode_categories::$EE is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 35
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$site_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 38
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$channel is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 44
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$group_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 45
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$entry_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 50
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$limit is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 51
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$last_only is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 56
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$style is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 61
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$list_type is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 66
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$backspace is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 71
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 79
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$class is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 80
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$depth is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 81
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$min_depth is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 86
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$max_depth is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 91
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$entry_count is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 96
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$status is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 101
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$show_empty is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 102
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$cat_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 107
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$cat_url_title is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 108
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$show_trail is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 109
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$incl_self is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 118
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$custom_fields is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 127
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$show_full_trail is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 132
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$excl_cat_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 141
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$excl_cat_id_children is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 146
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$count_future_entries is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 154
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$count_expired_entries is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 159
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$output_depth is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 164
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$orderby is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 169
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$sort is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 170
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$offset is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 203
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$excl_group_id is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 236
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$var_prefix is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 245
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$show is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 246
Severity: E_DEPRECATED
Deprecated
Creation of dynamic property Gwcode_categories::$switch is deprecated
user/addons/gwcode_categories/pi.gwcode_categories.php, line 251
Severity: E_DEPRECATED
I have a fix for that, though it is on my own repository. Let me have a look and commit it now and from the link here.
I forgot to mention that I am running PHP 8.2.
@rouviere See is this works for you. It's a fork with a number of changes and improvements. Works on PHP8.2
That appears to have resolved the problem. I now have a few other add-on errors that need to be resolved.
I will definitely report back after I get things worked out.
Thank you very much for the prompt feedback and fix.
On May 23, 2024, at 10:11 AM, Ignetic Media @.***> wrote:
@rouviere https://github.com/rouviere See is this works for you. It's a fork with a number of changes and improvements. Works on PHP8.2
https://github.com/ignetic/GWCode-EE3-EE4-EE5
— Reply to this email directly, view it on GitHub https://github.com/t1mwillis/GWCode-EE3-EE4-EE5/issues/7#issuecomment-2127536390, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABB3MKRX6RHLN5BLBKQQI5DZDYIMJAVCNFSM6AAAAABIF5NWXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGUZTMMZZGA. You are receiving this because you were mentioned.
Excellent. Glad to hear that.
@t1mwillis happy to merge this if you are ok with it.
Excellent. Glad to hear that.
@t1mwillis happy to merge this if you are ok with it.
Go for it!
@rouviere can you confirm that the updated code fixes your issue and if that's the case please close this? Thanks!
@ignetic the problem is solved and I couldn't be happier. I would strongly recommend that you not only merge, but update the name to reflect that it works on EE 7x and with PHP 8.2. This is one of the most useful add-ons. Thank you so much for the quick update.
My entire site broke when I upgraded to EE 7. Any plans to keep this active or do I need to make other plans?
It was a great tool while it lasted.
Thanks.