Skip to Content Skip to Menu

A couple PHP Notices logged

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 9 months ago #322885 by bascherz
A couple PHP Notices logged was created by bascherz
Just providing this for your benefit. I need no response or action. Just thought it might be useful info. I have no idea what it has to do with. I don't think I've ever seen a CB error in my log, but I don't usually look this closely.

PHP Notice: Undefined offset: 518 in .../libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 866
PHP Notice: Trying to get property 'published' of non-object in .../libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 866

Bruce S - Vienna, VA

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48547
  • Thanks: 8290
  • Karma: 1445
3 years 9 months ago #322899 by krileon
Replied by krileon on topic A couple PHP Notices logged
Was the notice recently? If so what version of Joomla, CB, and PHP are you on? That error typically happens when a plugin that isn't loaded yet is attempting to be called by something.


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.

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 9 months ago #322906 by bascherz
Replied by bascherz on topic A couple PHP Notices logged
Yes, latest version of Joomla (3.9.24) and CB (2.5.0). All plugins up-to-date for those versions. This just happened right before I posted my topic and those versions were current. PHP version 7.4.

Bruce S - Vienna, VA

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48547
  • Thanks: 8290
  • Karma: 1445
3 years 9 months ago - 3 years 9 months ago #322909 by krileon
Replied by krileon on topic A couple PHP Notices logged
Do you recall what you were doing at the time of the notice? Do you have any plugins with Access other than Public in CB > Plugin Management or any unpublished?


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.
Last edit: 3 years 9 months ago by krileon.

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

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 9 months ago - 3 years 9 months ago #322917 by bascherz
Replied by bascherz on topic A couple PHP Notices logged
There are 500-2,000 users on the site at any given time. I personally was not using the site. I am not even sure I was logged in. I was using an SSH terminal to see why the error_log file was so large (one word: Fabrik). I filtered out all the Fabrik and other errors I know are repeating due to PHP 7.4 incompatibility and there were these two CB messages; just two of them, which I thought was odd. Sorry I can't be more help than that.

Edit: Trying to recall what I was doing in the site back end since I now think I may have been back there around that time (not sure of the timing, really). I remember having to change an Auto Action from using [cb:date format="Y-m-d" /] to set a field to the current date/time to using my custom Code field [cb_now] because the cb:date rendition was not working at all. All the dates were getting set to NULL or ''. The [cb_now] method seems to work (the field simply does this: return date('Y-m-d'); ) whereas the cb:date method did not. It's possible that got triggered at that instant. With so many users on the site at once, it's never really 100% safe to make ANY site changes without taking if offline.

Bruce S - Vienna, VA
Last edit: 3 years 9 months ago by bascherz.

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

  • bascherz
  • bascherz
  • OFFLINE
  • Posts: 228
  • Thanks: 29
  • Karma: 11
3 years 9 months ago - 3 years 9 months ago #322922 by bascherz
Replied by bascherz on topic A couple PHP Notices logged
Here's another new one. This one appears to be related to an Auto Action involving the 'email' field.

PHP Notice: Trying to get property 'email' of non-object in .../components/com_comprofiler/plugin/user/plug_cbautoactions/library/CBAutoActions.php(148) : eval()'d code on line 13

I have a few Auto Actions that send emails, but if this was actually an issue with one of those, I'd be seeing it a lot more often (many times per day).

Bruce S - Vienna, VA
Last edit: 3 years 9 months ago by bascherz.

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

Moderators: beatnantkrileon
Powered by Kunena Forum