Issue with media library loading images
-
Hello,
I setup plugin to offload images to contabo storage and it is working, but my problem that media libery sometimes extremely slow that dont even want to load, not sure what is issue? I try everything to enable debug log and dont show anything, I see in chrome browser console log that show 524 error, if media libery load it minimum take 30 sec but my biggest issue that i have days that is not possible to open any image, offload for example is working but media library is not working? fronted dont have any issue, if media library is not show any image, fronted every time show image without any issues.
P.S. In settings everything is green and it is show successfully connected (Storage Settings, and Delivery Settings – Cloudflare)
-
This topic was modified 1 year, 6 months ago by
Pengi123.
-
This topic was modified 1 year, 6 months ago by
-
Hi there,
WP Offload Media Support Team here, Thanks for reaching out with your query we would be happy to assist
Please note that we don’t directly support nor have any experience with Contabo Storage so we’re limited with the support we can offer here.
That said, could you please try and temporarily disable the ‘Deliver Offloaded Media’ of the plugin and then check your Media Library if the issue persists?
If the issue persists, then it’s most likely not due to WP Offload Media. I recommend temporarily disabling other plugins and switching to a default theme to find the culprit.
However, if the issue disappears once you disable the ‘Deliver Offloaded Media’ setting then we’ll need to look further into this. Would you be able to send me the debugging information from the Help tab on the site you’re having trouble with?
- Go to the Help tab of your local install
- Scroll down to the “Diagnostic Info & Error Log”
- Click the “Download” button and save to your computer
- Reply to this email and include the text file as an attachment
Hello,
I test before to remove integration for “Wasabi” in my case Contabo like that in docs in wp-config and I see it instant load all OFFLOADED images in media library? when I put again that code in wp config
define( ‘AS3CF_SETTINGS’, serialize( array(
‘provider’ => ‘aws’,
‘access-key-id’ => ‘xxxxxxx’,
‘secret-access-key’ => ‘xxxxxxxxxx’,
) ) );It again just add loading icon in media library and it never finishes? a lot of times it just have infinity load but sometimes it load after 30 sec
Hi @pengi123,
When you say you’ve removed the integration, did you mean you disabled the plugin, and the images loaded properly? Perhaps all of your offloaded media are still on the server. Disabling the plugin will stop the rewriting process, and the images will all load up locally again.
It would help if we could see the current setup of your site, so we can understand the issue better. Please send in the diagnostic info as instructed in our previous reply. You may remove any sensitive data.
Not to disable plugin just to remove that code from wp-config and after that it load instant all offloaded images from object, not my local media storage, it load object images in media library….
Log:
site_url(): https://domain.com
home_url(): https://domain.com
Database Name: xxxxxxx
Table Prefix: xxxxxxx
WordPress: 6.3.1
Web Server: nginx/1.24.0
PHP: 8.0.30
MySQL: 10.3.38
ext/mysqli: yes
PHP Memory Limit: 512M
WP Memory Limit: 40M
Memory Usage: 32 MB
Blocked External HTTP Requests: None
WP Locale: en_US
Organize offloads by month/year: Enabled
WP_DEBUG: No
WP_DEBUG_LOG: No
WP_DEBUG_DISPLAY: Yes
SCRIPT_DEBUG: No
WP Max Upload Size: 2 GB
PHP Time Limit: 3000
PHP Error Log:
WP Cron: Enabled
fsockopen: Enabled
allow_url_fopen: Enabled
OpenSSL: OpenSSL 1.1.1f 31 Mar 2020
cURL: 7.68.0
Zlib Compression: Enabled
PHP GD: bundled (2.1.0 compatible)
Imagick: Enabled
Basic Auth: Disabled
Proxy: Disabled Total Media Items: 3,043
Total Offloaded Media Items: 2,678
Total Not Offloaded Media Items: 365 Media Library Items: 3,043
Offloaded Media Library Items: 2,678
Not Offloaded Media Library Items: 365 Number of Image Sizes: 11 Names and Dimensions of Image Sizes:
thumbnail (150x150)
medium (300x300)
large (1024x1024)
1536x1536 (1536x1536)
2048x2048 (2048x2048)
bunyad-small (150x0)
bunyad-medium (450x0)
bunyad-full (1200x0)
bunyad-viewport (2048x2048)
bunyad-768 (768x0) WP_CONTENT_DIR: /var/www/vhosts/domain.com/httpdocs/wp-content
WP_CONTENT_URL: https://domain.com/wp-content
UPLOADS: Not defined
WP_PLUGIN_DIR: /var/www/vhosts/domain.com/httpdocs/wp-content/plugins
WP_PLUGIN_URL: https://domain.com/wp-content/plugins AS3CF_PROVIDER: Not defined
AS3CF_BUCKET: Not defined
AS3CF_REGION: Not defined
AS3CF_SETTINGS: Defined
AS3CF_SETTINGS Keys: access-key-id, provider, secret-access-key Local URL:
https://domain.com/wp-content/uploads/2023/09/example.jpg
Offload URL:
https://img.domain.com/wp-content/uploads/2023/09/example.jpg OME Metadata Version: 12 Custom tables:
xxxx_as3cf_items: Ok Storage Provider: Amazon S3
Use Server Roles: Off
Key File Path: N/A
Access Keys Set: Yes
Access Key ID Define: Not defined
Secret Access Key Define: Not defined Bucket: domain
Region: default
Block All Public Access: Disabled
Object Ownership Enforced: Unknown Offload Media: On
Remove Local Media: On
Enable Add Prefix to Bucket Path: On
Custom Prefix for Bucket Path: wp-content/uploads/
Add Year & Month to Bucket Path: On
Add Object Version to Bucket Path: Off Delivery Provider: Cloudflare
Deliver Offloaded Media: On
Use Custom Domain Name (CNAME): On
Custom Domain (CNAME): img.domain.com Force HTTPS: On Posts Count: 4,635 Host IP: xxxxxxx
Background Jobs: Assets Pull:
Rewrite URLs: Off
Domain:
Force HTTPS: Off
Domain Check: (no domain) AS3CF_ASSETS_PULL_SETTINGS: Not defined Active Theme Name: SmartMag
Active Theme Version: 9.3.0
Active Theme Folder: smart-mag Active Plugins:
All-in-One WP Migration (v7.78) by ServMask
All-in-One WP Migration Google Drive Extension (v2.81) by ServMask
Antispam Bee (v2.11.5) by pluginkollektiv
Bunyad Demo Import (v2.6.2) by ThemeSphere & ProteusThemes
Bunyad Widget for Instagram (v1.2.4) by ThemeSphere
Elementor (v3.16.4) by Elementor.com
Elementor Pro (v3.16.2) by Elementor.com
Ezoic (v2.8.40) by Ezoic Inc.
FS Poster (v6.5.1) by FS-Code
Head, Footer and Post Injections (v3.2.6) by Stefano Lissa
JetEngine (v3.2.5.1) by Crocoblock
Rank Math SEO (v1.0.202) by Rank Math
Rank Math SEO PRO (v3.0.45) by Rank Math
Really Simple SSL (v7.0.9) by Really Simple Plugins
Regenerate Thumbnails (v3.1.6) by Alex Mills (Viper007Bond)
Smart Slider 3 Pro (v3.5.1.19) by Nextend
SmartMag Core (v1.4.3) by ThemeSphere
Smush Pro (v3.14.2) by WPMU DEV
Sphere Core (v1.6.3) by ThemeSphere
Sphere Post Views (v1.0.1) by ThemeSphere, asadkn, Hector Cabrera
Support Me (v1.0.6) by
UiPress (v2.4.4) by Admin 2020
WP Mail SMTP Pro (v3.8.0) by WP Mail SMTP
WP Offload Media (v3.2.5) by Delicious Brains
WP Offload Media Tweaks (v0.5.0) by Delicious Brains
WP Rocket (v3.15.0.1) by WP Media
WP Rocket | Disable Page Caching (v) by WP Rocket Support Team
Wordfence Security (v7.9.3) by Wordfence
hCaptcha for Elementor Forms (v1.0.0) by xisonc Drop-ins:
advanced-cache.php - advanced-cache.phpHi @pengi123,
Would you please try editing your wp-config.php file and replace this line –define( ‘WP_DEBUG’, false );
With these lines –
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);This means that any errors are logged to /wp-content/debug.log, because some errors are not visible on screen. More details about that at https://www.ads-software.com/support/article/editing-wp-config-php/#wp_debug
Can you try the process again and then attach the debug.log file with your reply.
Thank you.
I enable but in log file I dont get see any errors that is related to WP Offload Media plugin
Hi @pengi123 ,
I see in your diagnostics that you are using the Pro version of WP Offload Media. Do you have a current license with us? If so, could you open a ticket with us by using the Email Support form found in the Support tab of WP Offload Media on your site? Kindly mention this thread as well so that we know that it’s just a continuation.
Also, kindly confirm ithat the WP_DEBUG constants are found above / before the line /* That’s all, stop editing! Happy publishing. */ and the line with wp-settings.php
I put WP_DEBUG before /* That’s all, stop editing! Happy publishing. */?
I see errors in logs, but nothing that is regards WP Offload Media plugin
Hi @pengi123
Thanks for letting us know.
Just to make sure this isn’t a conflict issue, could you please try and temporarily deactivate other plugins and switching to a default WordPress theme like Twenty-twenty Three to see if the issue persists? Then please try activating other plugins one by one until the issue happens again.
If this is a live site, we recommend performing the troubleshooting steps on a dev/staging environment first. If that’s not possible, we would just suggest performing the steps during off-peak hours and create a backup beforehand.
Also, if you have an active license, we highly recommend reaching out via the plugin’s support tab as we would be able to investigate and troubleshoot this issue further. As mentioned, please make sure to include this thread so we can continue where we left off.
We look forward to hearing back!
- The topic ‘Issue with media library loading images’ is closed to new replies.