• Resolved ddalex

    (@ddalex)


    Hi, I updated WPDM to the newest version, now i get this, when the WPDM Button Templates plugins is used:
    Fatal error: Uncaught Error: Class ‘WPDM\Package’ not found in /var/www/html/wp-content/plugins/wpdm-button-templates/wpdm-button-templates.php:30

    Thanks,
    Alex

Viewing 7 replies - 1 through 7 (of 7 total)
  • Similar issue … my custom templates are being ignored after the recent update

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Button template add-on update for v3.2 will be released within the next 24 hours.

    @shafk, may you please elaborate on your issue a little more. Thanks

    I have custom a custom version of wpdm-all-downloads.php within my theme folder and it’s not being loaded.

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Okay, checking now 🙂

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Please rename the file to all-packages-shortcode.php ( new template file name ).

    Thank you. When I rename the file and try to access the page with the downloads shortcode I recieve the following error in the log files.

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function DownloadLink() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/divi/download-manager/all-packages-shortcode.php:133\nStack trace:\n#0 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/plugins/download-manager/src/Package/Shortcodes.php(414): include()\n#1 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/shortcodes.php(356): WPDM\\Package\\Shortcodes->allPackages()\n#2 [internal function]: do_shortcode_tag()\n#3 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/shortcodes.php(228): preg_replace_callback()\n#4 /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/divi/includes/builder/class-et-builder-element.php(2770): do_shortcode()\n#5 /var/www/vhosts/mywebsite.com/httpdocs/wp-includes/shortcodes.php(356): ET_Builder_Element->_render()\n#6 [internal function]: do_shortcode_tag()\n#7 /var/www/vhosts/highfieldleadershipacademy…’, referer: https://www.mywebsite.com/

    Any ideas?

    Plugin Contributor Shafaet Alam

    (@shafayat-alam)

    Yes, code in the old template file may not work, please copy all-packages-shortcode.php from /src/Packages/views/ and edit that as per your need.

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

The topic ‘WPDM Button Templates broken after update to 3.2.03’ is closed to new replies.