Error on creating a banner

Whenever i crate a new banner, this error comes up?

Fatal error: Uncaught ArgumentCountError: Too few arguments to function safe_svg::featured_image_fix(), 2 passed in /home/.sites/880/site8515995/web/meintempo.at/wp-includes/class-wp-hook.php on line 303 and exactly 3 expected in /home/.sites/880/site8515995/web/meintempo.at/wp-content/plugins/safe-svg/safe-svg.php:256 Stack trace: #0 /home/.sites/880/site8515995/web/meintempo.at/wp-includes/class-wp-hook.php(303): safe_svg->featured_image_fix(‘
Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.

But no email is sent to the admin email adress???

Posted in

Comments

3 responses to “Error on creating a banner”

  1. Hi Rainer,

    That’s great I’m glad it is working properly now.

    Regarding banners and the default URL for each banner, you can modify this by using a custom template for the Affiliates Dashboard Banners section like the one I have on this GitHub repository:
    https://github.com/geotsiokos/affiliates-dashboard-templates/blob/master/banners_with_alternative_url.php

    Once you download the template file, you need to also create the appropriate folder structure in your theme as described in the documentation for that purpose and then place the downloaded template file renamed to banners.php. Finally in the downloaded template file you should also modify the string value for alternative URL found in line 42 and use the URL of your choice.

    Kind regards,
    George

  2. Karin Abriel Avatar
    Karin Abriel

    Thanky you – this worked!

    Is there a way to predefine the Produktlink fort he banner? I would like to have all banners have a specific linkt to a product…

    So the link should be https://meintempo.at/produkt/kongresspaket/ with the ?affiliate=xyz extension at the end.

    I dont want the affiliates to fiddle around with the tool and have to fill the URL by themselves… any way to do it except manually copyiing the code tot he page with the long url?

    Thanks

    Rainer

  3. Hi Karin,

    Welcome to our support forum and many thanks for choosing our affiliate marketing tool for your site.

    FYI and based on the log you posted, the error comes from safe-svg plugin which I would recommend you to disable at least temporary and then check once more if the error still occurs. You should also contact the plugin developer and mention this or any other entries that have been possibly generated in your debug.log file.

    If you have noticed anything else that seems related to affiliates plugin then you should follow-up on this thread to let us know.

    Kind regards,
    George

Share