Skip to Content Skip to Menu

Deprecated in cbpaidProduct.php

  • agaudin
  • agaudin
  • ONLINE
  • Posts: 92
  • Thanks: 16
  • Karma: 3
2 hours 1 minute ago #344414 by agaudin
Deprecated in cbpaidProduct.php was created by agaudin
Hello

On a production site, at the end of registration process, we have a random displaying of a deprecated* message displaying from php :
Code:
Deprecated: preg_match(): Passing null to parameter#2 ($Subject) of type string is deprecated in [...]/components/com_profiler/plugin/user/plug_cbpaidsubscriptions/models/product/cbpaidProduct.php on line 990
* I know deprecated shoudn't been displayed on a prod servor, but I'm not the one managing the servor and the guy doing it cannot find where the php paramater is set on - not in known php.ini at least, still investigating.
And I know this deprecated is not a big thing, just sharing the info - there is no urge !  :-)


Best regards
Antoine.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50645
  • Thanks: 8679
  • Karma: 1474
1 hour 32 minutes ago #344415 by krileon
Replied by krileon on topic Deprecated in cbpaidProduct.php
That's in the plan condition logic. Looks like a NULL value is being passed from a field to preg_match. Edit whatever plan is being purchased during registration then under the Workflows tab review your conditions. It's possible for a field to be NULL, but often is caused by an incorrectly set condition.


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: agaudin

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

Moderators: beatnantkrileon
Powered by Kunena Forum