Title: Server error
Last modified: October 5, 2022

---

# Server error

 *  Resolved [aThemes](https://wordpress.org/support/users/athemes/)
 * (@athemes)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/server-error-100/)
 * 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](https://staging) fat-staging.kinsta.cloud/wp-admin/upload.php?
   page=wpmc_dashboard”

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [aThemes](https://wordpress.org/support/users/athemes/)
 * (@athemes)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/server-error-100/#post-16072066)
 * Sorry, I meant to post this on the Media Cleaner support section (I was checking
   out this plugin at the same time).
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/server-error-100/#post-16077879)
 * I will close this here, then 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Server error’ is closed to new replies.

 * ![](https://ps.w.org/database-cleaner/assets/icon-256x256.png?rev=2791575)
 * [Database Cleaner](https://wordpress.org/plugins/database-cleaner/)
 * [Support Threads](https://wordpress.org/support/plugin/database-cleaner/)
 * [Active Topics](https://wordpress.org/support/plugin/database-cleaner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/database-cleaner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/database-cleaner/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/server-error-100/#post-16077879)
 * Status: resolved