Closed JoelLisenby closed 3 months ago
Hi Joel,
Thank you for the report. This has been fixed by https://github.com/siteorigin/so-widgets-bundle/pull/1976
Kind regards, Alex
@AlexGStapleton thank you for the quick response. I noticed the error was still occurring and made a comment here with a small adjustment to the fix. https://github.com/siteorigin/so-widgets-bundle/pull/1976#issuecomment-2111124603
I noticed the following error, when running PHP 8.x [8.3 in particular] on the following line: https://github.com/siteorigin/so-widgets-bundle/blob/a795ebc454593be7169a54e7e8420fb337208554/base/inc/post-selector.php#L71
PHP Fatal error: Uncaught TypeError: stripslashes(): Argument #1 ($string) must be of type string, array given in /wp-content/plugins/so-widgets-bundle/base/inc/post-selector.php:71
You can see on the following line 'date_query_relative' an array, not a string.
https://github.com/siteorigin/so-widgets-bundle/blob/a795ebc454593be7169a54e7e8420fb337208554/base/inc/fields/posts.class.php#L88