Hey @Louis ,
Noticed this conflict and thought I’d share in case it’s in any way helpful.
I didn’t have any issues regenerating HTML with 1.2.6, but on 1.2.7 I get this error:
I checked the server log, and this is what I found:
2022/11/11 13:19:30 [error] 3112145#3112145: *358994 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, string given in /var/www/staging.mydomain.com/htdocs/wp-content/plugins/wp-social-reviews/app/Hooks/actions.php:61
Stack trace:
#0 /var/www/staging.mydomain.com/htdocs/wp-content/plugins/wp-social-reviews/app/Hooks/actions.php(61): array_values()
#1 /var/www/staging.mydomain.com/htdocs/wp-includes/class-wp-hook.php(310): WPSocialReviews\Framework\Foundation\Application->{closure}()
#2 /var/www/staging.mydomain.com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /var/www/staging.mydomain.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /var/www/staging.mydomain.com/htdocs/wp-includes/post.php(4717): do_action()
#5 /var/www/staging.mydomain.com/htdocs/wp-includes/post.php(4819): wp_insert_post()
#6 /var/www/staging.mydomain.com/htdocs/wp-content/plugins/cwicly/core/includes/cc-ground.php(695): wp_update_post()
#7 /var/www" while reading response header from upstream, client: 99.999.999.99, server: staging.mydomain.com, request: "POST /wp-json/cwicly/v1/post_html_render?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php80-fpm-staging.mydomain.com.sock:", host: "staging.mydomain.com", referrer: "https://staging.mydomain.com/wp-admin/admin.php?page=cwicly-settings"
De-activating the WP Social Ninja plugin resolves the issue.