• Resolved sgpark

    (@sgpark)


    Plugin causes “critical error” error in wordpress. I had to roll the plugin back to 1.56.4.

    Log says:

    [13-Mar-2025 01:48:26 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_classname() on false in /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/abstracts/abstract-factory.php:34
    Stack trace: 0 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/placements/class-placement-factory.php(64): AdvancedAds\Abstracts\Factory->get_classname() 1 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/functions-placement.php(277): AdvancedAds\Placements\Placement_Factory->get_placement() 2 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/functions-placement.php(300): wp_advads_get_placement_by_id() 3 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/functions-placement.php(265): wp_advads_get_placement_by_slug() 4 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/functions-placement.php(49): wp_advads_get_placement() 5 /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/functions-placement.php(75): get_the_placement() 6 /home/[ourdirectory]/public_html/wp-content/themes/simplemag-child/functions.php(52): the_ad_placement() 7 /home/[ourdirectory]/public_html/wp-settings.php(672): include(‘/home/[ourdirectory]/…’) 8 /home/[ourdirectory]/public_html/wp-config.php(120): require_once(‘/home/[ourdirectory]/…’) 9 /home/[ourdirectory]/public_html/wp-load.php(50): require_once(‘/home/[ourdirectory]/…’) 10 /home/[ourdirectory]/public_html/wp-blog-header.php(13): require_once(‘/home/[ourdirectory]/…’) 11 /home/[ourdirectory]/public_html/index.php(17): require(‘/home/[ourdirectory]/…’) 12 {main}

    thrown in /home/[ourdirectory]/public_html/wp-content/plugins/advanced-ads/includes/abstracts/abstract-factory.php on line 34

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support ahmeddr

    (@ahmeddr)

    Hello @sgpark,

    Thank you for reaching out and sharing the error with us.

    We are actively working to resolve all issues related to the latest update, including this one. I sincerely apologize for any inconvenience this may have caused and appreciate your patience and understanding.

    As the update is causing such issue in your case, I recommend continuing to use Advanced Ads 1.56.4 until we release a fix. Thank you for your understanding!

    Please let me know if you have any questions or need further assistance.

    Thank you, and have a great day!

    Best regards,

    Plugin Support Henning

    (@henningaa)

    Hi there,

    Is the issue still present with the latest update, of Advanced Ads v.2.0.4?

    If so, can you please provide any upcoming error messages from your log or browser console?
    A dedicated guide on how to reproduce the behavior is also welcome.

    Best regards,
    Henning

    Thread Starter sgpark

    (@sgpark)

    Thanks so much for checking in! I just updated to 2.0.4 without incident. I really appreciate your diligence.

    Plugin Support Henning

    (@henningaa)

    Thank you so much for the update, great to read Advanced Ads 2.0 is now working on your page.

    To get to the origin of this, would mind sharing your child theme functions.php with me?

    Best regards,
    Henning

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.