![]() |
|
Error functions-basic line 342 after update to 1.6.3 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Error functions-basic line 342 after update to 1.6.3 (/thread-13942.html) |
Error functions-basic line 342 after update to 1.6.3 - mowgli597 - 10-06-2024 After updating to 1.6.3 the Debug log is flooding with the following error message: DEPRECATED: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/bpskdk/public_html/development/zenphoto/zp-core/functions/functions-basic.php on line 342 this is then followed by further data on the trace which comes from various functions being called, e.g.: from setup.php [2] (these were entered in the log immediately after the update - other messages appear when accessing the albums, but the initial error on line 342 of functions-basic is always the same) Have tried changing theme to one of the standard themes to see if the error was theme related but no difference. Installation info:
Error functions-basic line 342 after update to 1.6.3 - acrylian - 10-06-2024 It's not theme related and not an actual error (yet), just a deprecation notice. Nothing really to worry right now, just PHP 8+ being a bit more strict on variable values. We fixed lots of these issues already but surely have not caught all of them so they always pop up every now and then. Thanks for letting us know. Error functions-basic line 342 after update to 1.6.3 - acrylian - 10-06-2024 The issue should be fixed in the 1.6.4a support build which will be released very soon due to some important bugfixes. Error functions-basic line 342 after update to 1.6.3 - mowgli597 - 03-07-2024 Indeed it is. Thank you. |