Shortcode warnings
-
Hi Webreact,
Yesterday we noticed that one of our website was generating a lot of warnings coming from the HelloDialog plugin. We use the shortcode option on this site, and got the following warning:
[Thu Jan 04 18:47:21.635015 2024] ‘PHP message: PHP Warning: foreach() argument must be of type array|object, null given in [SERVER_PATH]/plugins/hellodialog/shortcodes/shortcode.php on line 174’
Because of the huge amount of these warnings, our logs actually clogged op the server which resulted in some downtime. For the time being we had to disable te plugin, after which the site worked fine again. Today we also activated the plugin again, but the warnings also seem te be gone.
Is this something you guys might have seen before? We are on the latest version of the plugin, running PHP8.2 on the server. Thanks in advance for your time!
- The topic ‘Shortcode warnings’ is closed to new replies.