Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

php upgrade causes warnings

5 years 2 months ago #314142 by Thelowlandpiper
php upgrade causes warnings was created by Thelowlandpiper
after getting joomla messages about no longer using php 7.1, I upgraded to 7.3 and immediately got warnings of trigger errors with cbsubs/cbgroupjive

(CBSubs version 4.3.1+build.2019.06.06.22.04.17.2b12f2e80; reverting to 7.1 removes these. Is this a CB error or a joomla one? (joomla 3.9.11)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
5 years 2 months ago #314149 by krileon
Replied by krileon on topic php upgrade causes warnings
You need to provide the warnings/errors. CB has already been tested up to PHP 7.3.9 as working fine. Ensure your install is completely up to date.


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 or Create an account to join the conversation.

5 years 2 months ago #314154 by Thelowlandpiper
Replied by Thelowlandpiper on topic php upgrade causes warnings
CB control panel has Your version is 2.4.2 Latest version 2.4.2
Cbsubs :"You have the latest version 4.3.1+build.2019.06.06.22.04.17.2b12f2e80 ."

With php set to 7.3, viewing Community Builder User Management shows:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /.../public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubsgroupjive/cbsubs.groupjive.php on line 337

This warning appears repeatedly citing different lines;

While using php 7.3 I noticed that a similar warning occurred on an Adsmanager extension page too.- "
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /.../public_html/administrator/components/com_adsmanager/models/content.php on line 288"

I have re-set the php version to 7.2 and the error does not occur.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
5 years 2 months ago #314156 by krileon
Replied by krileon on topic php upgrade causes warnings

CB control panel has Your version is 2.4.2 Latest version 2.4.2

You're using the latest Stable version. That is not the latest Build version. The latest version is 2.4.2+build.2019.09.04.15.43.19.0ccedd068.

With php set to 7.3, viewing Community Builder User Management shows:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /.../public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubsgroupjive/cbsubs.groupjive.php on line 337

That has already been fixed in the latest CBSubs build, which is 4.3.1+build.2019.08.15.16.08.53.0334c7a14.

In short your install is out of date. Please update and you should have no issues from CB on PHP 7.3.

While using php 7.3 I noticed that a similar warning occurred on an Adsmanager extension page too.- "
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /.../public_html/administrator/components/com_adsmanager/models/content.php on line 288"

That's not coming from CB. You'll need to contact the developer of your Ads Manager extension, but if the above out of date CB is any indication you might just need to update Ads Manager as well.


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 or Create an account to join the conversation.

5 years 2 months ago #314162 by Thelowlandpiper
Replied by Thelowlandpiper on topic php upgrade causes warnings
OK thanks: I have now installed the latest build of CBSubs and CBSubs,groupjive;
"You have the latest version 4.3.1+build.2019.08.15.16.08.53.0334c7a14 "

Also the latest CB:
"Your version is 2.4.2+build.2019.09.04.15.43.19.0ccedd068
Latest version
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/sites/j/j3site.lbps.net/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubsgroupjive/cbsubs.groupjive.php on line 426
2.4.2+build.2019.09.04.15.43.19.0ccedd068

So I am now seeing just the one warning; - on line 426

[I've also updated the Adsmanager and no longer see the warnings]

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

5 years 2 months ago #314163 by Thelowlandpiper
Replied by Thelowlandpiper on topic php upgrade causes warnings
I've just run the update package of all cb fields (thanks for making this so simple) but this has not fixed the problem; I'm still seeing :the warning as in my previous reply

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

Moderators: beatnantkrileon
Powered by Kunena Forum