iteratus
Forum Replies Created
-
I’m not quite sure how to reproduce it on a clean setup. I use of course a massive punch of plugins and I’m not sure how they interfer. But it seems to be quite understandable when I think about it:
– I installed your plugin long after the initial setup but probably befor our final products import
– The error occurrs only the first time I register for a product where obviously no db entry is available yet, therefore the value being returned seems to be an empty string.
– Since the script ended with a fatal error it was not able to update the db anymore, so the error keeps occurring
– As soon as I typecasted the variable, the empty string was converted into a valud integer (0 in the first case) and the following addition worked without an error.
– From this time on the product registering worked as expected for this product, even when I disabled the typecast again. So it seems that the script updated the DB correctly and theget_post_meta
then returns a zero string ‘0’ which then gets converted by PHP on the fly.I usse PHP 8.0.12 as FPM on nginx
Besides that, I’m not quite sure how to help you more specifically.
Forum: Plugins
In reply to: [Perfect Images] date_default_timezone_setThat sounds great. Thank you!
Actually I was not aware of “using this method” at all. Simply I have the plug-in installed to consume the processing of the images in the backend. And when I was searching for possible errors baucause of my timezone problem, this was the only part of the code in the whole codebase and I disabled the line => Problem solved ??
Greetings,
iteratus