Supporto » Fixing WordPress » MEDIA SYNC e MEDIA FROM FTP non funzionano

  • Buongiorno a tutti,

    sto provando ad aggiornare alcune immagine che ho caricato via ftp e inserirle in Media come avevo fatto in passato. Utilizzo entrambi i plugin in oggetto ma entrambi mi danno errore, penso che sia memoria. Sia in wpconfig che in PHP ho già portato a 512M.

    copio qui di seguito il log grazie mille!

    2023-07-04 07:47:28Warning93.94.27.45AH01071: Got error ‘PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94’, referer: https://misterbilliard.com/wp-admin/upload.php?page=media-sync-pageApache error2023-07-04 07:47:29Warning93.94.27.45AH01071: Got error ‘PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94’, referer: https://misterbilliard.com/wp-admin/upload.php?page=media-sync-pageApache error2023-07-04 07:47:30Access93.94.27.45200POST /wp-admin/admin-ajax.php HTTP/2.044nginx SSL/TLS access2023-07-04 07:47:30Warning93.94.27.4512117#0: *1263564 FastCGI sent in stderr: “PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94” while reading response header from upstreamnginx error2023-07-04 07:47:33Error95.110.131.235499POST /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=9a9cc25980 HTTP/1.10nginx SSL/TLS access2023-07-04 07:47:33Error93.94.27.45500GET /wp-admin/upload.php?page=media-sync-page&scan_files=1 HTTP/2.0297nginx SSL/TLS access2023-07-04 07:47:33Warning93.94.27.4512117#0: *1263564 FastCGI sent in stderr: “PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94; PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /var/www/vhosts/misterbilliard.com/httpdocs/wp-includes/class-wpdb.php on line 2431” while reading response header from upstreamnginx error2023-07-04 07:47:33Error93.94.27.4512117#0: *1263564 FastCGI sent in stderr: “; PHP message: WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM MhNyT_options WHERE option_name = ‘jpsq_sync_checkout’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->is_locked, Automattic\Jetpack\Sync\Queue->get_checkout_id; PHP message: WordPress database error Commands out of sync; you can’t run this command now for query SELECT count(*) FROM MhNyT_options WHERE option_name LIKE ‘jpsq_sync-%’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->size; PHP message: WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM MhNyT_options WHERE option_name = ‘jetpack_sync_full_status’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_full_sync, Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately->get_status, Jetpack_Options::get_raw_option” while reading upstreamnginx error2023-07-04 07:47:35Access93.94.27.45200POST /wp-json/wpml/tm/v1/ate/jobs/retry HTTP/1.01002Apache SSL/TLS access2023-07-04 07:47:36Access93.94.27.45200POST /wp-json/wpml/tm/v1/ate/jobs/sync HTTP/1.01.08 KApache SSL/TLS access2023-07-04 07:47:36Warning93.94.27.45AH01071: Got error ‘PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94’, referer: https://misterbilliard.com/wp-admin/upload.php?page=media-sync-pageApache error2023-07-04 07:47:37Warning93.94.27.45AH01071: Got error ‘PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94’, referer: https://misterbilliard.com/wp-admin/upload.php?page=media-sync-pageApache error2023-07-04 07:47:37Access93.94.27.45200POST /wp-admin/admin-ajax.php HTTP/2.044nginx SSL/TLS access2023-07-04 07:47:37Warning93.94.27.4512117#0: *1263564 FastCGI sent in stderr: “PHP message: PHP Warning: Constant WP_MEMORY_LIMIT already defined in /var/www/vhosts/misterbilliard.com/httpdocs/wp-config.php on line 94” while reading response header from upstreamnginx error2023-07-04 07:47:39Error95.110.131.235499POST /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=9a9cc25980 HTTP/1.10nginx SSL/TLS access

    La pagina su cui ho bisogno di aiuto: [devi essere connesso per vedere il link]

Stai visualizzando 1 risposte (di 1 totali)
  • Ciao @ilfriz80,

    Grazie per aver aperto una discussione sul forum WordPress. Sono Matteo, lieto di aiutarti.

    In base a quanto specificato nell’errore, il problema non sembra essere legato al fatto che la memoria richiesta sia troppa. Invece, sembra che sia già stata dichiarata quella costante e il sistema quindi va in confusione. Prova a sentire il tuo hosting, questa discussione potrebbe fare al caso tuo.

    Se preferisci, posso aiutarti anche io a fare ulteriori analisi sul tuo sito.

    Un saluto,
    Matteo

Stai visualizzando 1 risposte (di 1 totali)
  • Il topic ‘MEDIA SYNC e MEDIA FROM FTP non funzionano’ è chiuso a nuove risposte.