• Resolved alexfilisia

    (@alexfilisia)


    The latest version produces the error

    Fatal error: Uncaught Error: Call to undefined method AS3CF_S3_To_Local::get_attachment_id_from_url() in /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/Divi/includes/builder/plugin-compat/amazon-s3-and-cloudfront.php:71 Stack trace: #0 /var/www/vhosts/xxx.com/httpdocs/wp-includes/class-wp-hook.php(307): ET_Builder_Plugin_Compat_WP_Offload_S3->et_get_attachment_id_by_url_pre(false, 'https://cosmowe...') #1 /var/www/vhosts/xxx.com/httpdocs/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array) #2 /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/Divi/core/functions.php(1363): apply_filters('et_get_attachme...', false, 'https://cosmowe...') #3 /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/Divi/core/functions.php(1505): et_get_attachment_id_by_url('https://cosmowe...') #4 /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/Divi/header.php(247): et_get_attachment_size_by_url('https://cosmowe...') #5 /var/www/vhosts/xxx.com/httpdocs/wp-includes/template.php(770): require_once('/va in /var/www/vhosts/xxx.com/httpdocs/wp-content/themes/Divi/includes/builder/plugin-compat/amazon-s3-and-cloudfront.php on line 71

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter alexfilisia

    (@alexfilisia)

    this is for version 2.6 – 2022-03-09

    Plugin Author Delicious Brains

    (@deliciousbrains)

    Thanks for raising this @alexfilisia.

    Looks like Divi has compatibility code that is reaching inside WP Offload Media and directly calling a function that no longer exists.

    We didn’t even know Divi had code like this, and our WP Offload Media (Pro) plugin already has integration and support for Divi.

    Please can you raise this issue with Divi as this is a problem with their theme?

    -IJ

    so a quick resolve is to upgrade? I have divi and my site is down.

    Plugin Author Delicious Brains

    (@deliciousbrains)

    so a quick resolve is to upgrade?

    We currently only support Divi via WP Offload Media, not WP Offload Media Lite, so I’m afraid all I can suggest is upgrading if Divi don’t have a solution for you.

    -IJ

    @alexfilisia you can downgrade the plugin for now as a temporary solution until Divi fixes it.

    • This reply was modified 2 years, 8 months ago by abhishek8sh.
    Thread Starter alexfilisia

    (@alexfilisia)

    @deliciousbrains and @abhishek8sh thank you.

    I have contacted the Divi team and they informed me that they know about the bug and that they are working on fixing it.

    How can I downgrade?

    Plugin Author Delicious Brains

    (@deliciousbrains)

    Please note that WP Offload Media 2.6 upgrades the data it stores about offloaded media, so to downgrade to 2.5.5 or earlier you’ll need to restore your database from a backup taken before the upgrade.

    -IJ

    Plugin Author Delicious Brains

    (@deliciousbrains)

    Divi has just released version 4.14.9 which restores compatibility with WP Offload Media Lite 2.6. Please try that update and let us know if that solves it for you. -KH

    Thread Starter alexfilisia

    (@alexfilisia)

    @deliciousbrains yes, it works ok for me now after the latest Divi update

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uncaught Error: Call to undefined method AS3CF_S3_To_Local::get_attachment_id_fr’ is closed to new replies.