Heads-up: CB still using some deprecated classes? (PHP7.1 warnings...)

6 years 2 months ago #302089 by mikerotec
Noticed the PHP error log has been filling up with warnings (since PHP7.1)

there are various and sundry pages that pull some "legacy" library functions, among them CB's own /subscribe-option.
[Tue Feb 13 15:20:44 2018] [warn] [client xxx.xxx.xxx.xxx] PHP Warning:  A non-numeric value encountered in [redacted]/libraries/legacy/request/request.php on line 518, referer: [redacted]/en/subscribe-option
[Tue Feb 13 15:20:44 2018] [warn] [client xxx.xxx.xxx.xxx] PHP Warning:  A non-numeric value encountered in [redacted]/libraries/legacy/request/request.php on line 524, referer: [redacted]/en/subscribe-option
[Tue Feb 13 15:20:44 2018] [warn] [client xxx.xxx.xxx.xxx] PHP Warning:  A non-numeric value encountered in [redacted]/libraries/legacy/request/request.php on line 528, referer: [redacted]/en/subscribe-option

See the details and comments here: github.com/joomla/joomla-cms/issues/19695#issuecomment-366019487

Please Log in to join the conversation.

6 years 2 months ago #302094 by krileon
Please disable SEF and provide the URL beginning with index.php as is I've no idea what page you're on that's causing that based off your SEF menu alias.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

6 years 2 months ago #302099 by mikerotec
OOPS!! sorry about that, it's

/index.php?option=com_comprofiler&view=userprofile&Itemid=6&lang=en

Please Log in to join the conversation.

6 years 2 months ago #302116 by krileon
We've 2 usages of that function in CB it self and looks like 3 in CBSubs. New builds for both should be available sometime today. It however probably should not have been generating a warning as far as I can tell based off our usages.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: mikerotec

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.259 seconds

Facebook Twitter LinkedIn