The issue randomly started happening. When I upload a PDF file via the media library, it sometimes ‘adds’ random lines and graphics to the PDF file(or solid brown color), but sometimes it is okay.
WP core is updated to latest, plugins as well, php is running 7.3.
I wonder if it is ever WordPress issue or a hosting issue.
What could be the reason?
here’s the list of the plugins:
Abandoned Cart Lite for WooCommerce Advanced Custom Fields PRO Advanced Order Export For WooCommerce Contact Form 7 LionScripts: IP Blocker Lite Mouseflow for WordPress MultiLine files for Contact Form 7 NotificationX Post SMTP Really Simple SSL SVG Support WooCommerce WooCommerce Order Status Control WooCommerce Order Status Manager WooCommerce Stripe Gateway WP Cerber Security, Anti-spam & Malware Scan WP-PageNavi Yoast SEO Premium
Which one has a chance to be the problem?
Also, the XHR Request sometimes responds with JSON data, and sometimes the response is empty. This is all RANDOM, very weird bug.
EDIT 3: it’s not from a plugin, I have disabled them all except the acf
EDIT 4: I have found it is not inserting _wp_attachment_metadata in the wp_postmeta table(it works only through media library, but not from the acf file field)