• Resolved athemes

    (@athemes)


    Hi,

    When trying to run the scan it gets to step 2 then says ‘Server error. Please check your PHP Error Logs.’

    We have tried disabling all other plugins and just running Media Cleaner but no difference.

    From the logs:

    2022/10/05 14:25:01 [error] 73363#73363: *16172 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /public/wp-content/plugins/media-cleaner/classes/parsers/common.php:62
    Stack trace:
    #0 /public/wp-content/plugins/media-cleaner/classes/parsers/common.php(62): array_merge(Array, ‘483395, 574368,…’)
    #1 /public/wp-content/plugins/media-cleaner/classes/parsers/common.php(75): MeowApps_WPMC_Parser_Common->get_images_from_widget(Array, Array, Array)
    #2 /public/wp-includes/class-wp-hook.php(307): MeowApps_WPMC_Parser_Common->scan_widget(Array)
    #3 /public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #4 /public/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #5 /public/wp-content/plugins/media-cleaner/classes/engine.php(86): do_action(‘wpmc_scan_widge…’, Array)
    #6 /public/wp-content/plugin” while reading response header from upstream, client: 5.253.204.141, server: staging-staging.kinsta.cloud, request: “POST /wp-json/media-cleaner/v1/extract_references HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm.sock:”, host: “staging-staging.kinsta.cloud:49800”, referrer: “https://staging fat-staging.kinsta.cloud/wp-admin/upload.php?page=wpmc_dashboard”

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server error’ is closed to new replies.