warning triggered by empty date field in Tabs Widget

  • Solved
  • Posted 2 years ago

As I turned on error logging for WordPress, I noticed several warning messages showed up in error log, front end, as well as Elementor edit mode in the single page of “places” CPT where a “Tabs Widget” is accessing an “date” field. I’ve also attached screen shot of the debug log for your reference.

My guess is because the date field being accessed is empty for some listings, but since this field by design is not required, I’d imagine the code should somehow deal with this scenario without giving warnings?

Please help.

  • Images