• From Mar 29, 2022 I am seeing one fatal error that appeared couple of time and today site homepage (Landing page) was not working and keep throwing 500 error. It was throwing an error in /wp-content/plugins/amazon-s3-and-cloudfront/classes/items/item.php.

    At the top (first line) in add_to_items_cache() method, I have added return; and from afterwards Homepage and all the other pages are working properly and I am not seeing any Fatal error in the logs.

    I am using this plugin from a long time and currently using v2.6.0. Till Mar 28, 2022 everything was fine but suddenly it starts throwing Fatal error and there is no server-side change and not updated any of the plugin/theme.

    We are running e-commerce website and add hundreds of products daily. Lots of images are offloaded to the Amazon S3 and I cannot remove/deactivate this plugin. On the staging site, we have tested with deactivating this plugin and everything seems to be working there after that except images stopped loading.

    I don’t like to update the plugin file but at that moment I didn’t have any other choice. It’s a temporary solution but I need a permanent solution of that!

    Any help would be much appreciated!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Delicious Brains

    (@deliciousbrains)

    Can you try v2.6.2 to see if that helps?

    -IJ

    Thread Starter Sami Ahmed Siddiqui

    (@sasiddiqui)

    @deliciousbrains Thank you for your suggestion. We have updated the plugin and around 30 minutes website homepage stops loading and starts throwing 500 error.

    Regards,
    Sami

    Plugin Author Delicious Brains

    (@deliciousbrains)

    Can you give us more information?

    Diagnostic Info?

    debug.log?

    -IJ

    Thread Starter Sami Ahmed Siddiqui

    (@sasiddiqui)

    @deliciousbrains Here you go!

    site_url(): https://www.kkami.nl
    home_url(): https://www.kkami.nl
    Database Name: kkami2
    Table Prefix: wp_
    WordPress: 5.9.2
    Web Server: nginx/1.21.3
    PHP: 7.4.25
    MySQL: 5.5.5
    ext/mysqli: yes
    PHP Memory Limit: 1024M
    WP Memory Limit: 40M
    Memory Usage: 18 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: 128 MB
    PHP Time Limit: 300
    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: 2.3.0
    Imagick: Enabled
    Basic Auth: Enabled
    Proxy: Disabled
    
    Media Files: 182,462
    Offloaded Media Files: 182,185
    Not Offloaded Media Files: 277
    
    Number of Image Sizes: 15
    
    Names and Dimensions of Image Sizes: 
    thumbnail (150x150)
    medium (300x300)
    large (1024x1024)
    1536x1536 (1536x1536)
    2048x2048 (2048x2048)
    widget-thumbnail (75x75)
    woocommerce_thumbnail (300x400)
    woocommerce_single (600x0)
    woocommerce_gallery_thumbnail (100x100)
    shop_catalog (300x400)
    shop_single (600x0)
    shop_thumbnail (100x100)
    ppec_logo_image_size (190x60)
    ppec_header_image_size (750x90)
    
    WP_CONTENT_DIR: /www/kkami2_294/public/wp-content
    WP_CONTENT_URL: https://www.kkami.nl/wp-content
    UPLOADS: Not defined
    WP_PLUGIN_DIR: /www/kkami2_294/public/wp-content/plugins
    WP_PLUGIN_URL: https://www.kkami.nl/wp-content/plugins
    
    AS3CF_PROVIDER: Not defined
    AS3CF_BUCKET: Not defined
    AS3CF_REGION: Not defined
    AS3CF_SETTINGS: Not defined
    
    Local URL:
    https://www.kkami.nl/wp‑content/uploads/2022/04/photo.jpg
    Offload URL:
    https://cdn2.kkami.nl/wp‑content/uploads/2022/04/photo.jpg
    
    OME Metadata Version: 12
    
    Custom tables:
    wp_as3cf_items: Ok
    
    Storage Provider: Amazon S3
    Use Server Roles: Off
    Key File Path: N/A
    Access Keys Set: Yes
    Access Key ID Define: AS3CF_AWS_ACCESS_KEY_ID
    Secret Access Key Define: AS3CF_AWS_SECRET_ACCESS_KEY
    
    Bucket: kkami2
    Region: us-west-2
    Block All Public Access: Disabled
    
    Copy Files to Bucket: On
    Enable Path: On
    Custom Path: wp-content/uploads/
    Use Year/Month: On
    Object Versioning: Off
    
    Delivery Provider: Amazon CloudFront
    Rewrite Media URLs: On
    Enable Custom Domain (CNAME): On
    Custom Domain (CNAME): cdn2.kkami.nl
    
    Force HTTPS: On
    
    Remove Files From Server: On
    
    Active Theme Name: Astra Child
    Active Theme Version: 1.0.0
    Active Theme Folder: astra-child
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.9
    Parent Theme Folder: astra
    
    Active Plugins:
    Astra Pro (v3.6.6) by Brainstorm Force
    EWWW Image Optimizer (v6.4.2) by Exactly WWW
    Elementor (v3.5.6) by Elementor.com
    Elementor Pro (v3.6.3) by Elementor.com
    Envato Market (v2.0.7) by Envato
    GDPR Cookie Consent (v2.1.1) by WebToffee
    HTTP Auth (v0.3.2) by YAS Global Team
    KKAMI Helper (v1.8.0) by Sami Ahmed Siddiqui
    KKAMI WooCommerce (v0.0.147) by Robert Rusu
    Perfect Brands for WooCommerce (v2.0.7) by QuadLayers
    Prevent XSS Vulnerability (v2.0.0) by Sami Ahmed Siddiqui
    Starter Templates (v3.1.6) by Brainstorm Force
    Strong Testimonials (v2.51.6) by WPChill
    TI WooCommerce Wishlist Premium (v1.42.0) by TemplateInvaders
    The SEO Framework (v4.2.3) by The SEO Framework Team
    Two Factor (v0.7.1) by Plugin Contributors
    WOOCS - WooCommerce Currency Switcher (v2.3.7.5) by realmag777
    WOOF - WooCommerce Products Filter (v2.2.6.4) by realmag777
    WP Fusion (v3.38.45) by Very Good Plugins
    WP Fusion - Abandoned Cart Addon (v1.7.2) by Very Good Plugins
    WP Fusion - Logins Addon (v1.2.5) by Very Good Plugins
    WP Offload Media Lite (v2.6.2) by Delicious Brains
    WPS Hide Login (v1.9.3) by WPServeur, NicolasKulka, wpformation
    WooCommerce (v6.3.1) by Automattic
    WooCommerce - Custom Orders Table (v1.0.0-rc3) by Liquid Web
    WooCommerce Bulk Variations (v1.6.9) by Lucas Stark
    WooCommerce Google Analytics Pro (v1.11.1) by SkyVerge
    WooCommerce PayPal Checkout Gateway (v2.1.3) by WooCommerce
    WooCommerce PayPal Payments (v1.7.0) by WooCommerce
    oik weight zone shipping (v0.2.4) by bobbingwide
    
    Must-use Plugins:
    Kinsta Must-use Plugins (v2.3.6) by Kinsta Team
    Plugin Author Delicious Brains

    (@deliciousbrains)

    Thanks for that, nothing stands out from that.

    What’s in the debug.log when an error occurs?

    https://deliciousbrains.com/why-use-wp-debug-log-wordpress-development/

    -IJ

    Thread Starter Sami Ahmed Siddiqui

    (@sasiddiqui)

    @deliciousbrains It throws Allowed Memory size issue in /wp-content/plugins/amazon-s3-and-cloudfront/classes/items/item.php

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

The topic ‘PHP Fatal error: Allowed memory size of’ is closed to new replies.