• Resolved therethere

    (@therethere)


    We’re having an interesting issue with a site where Complianz is installed. (As this is a public forum and the site belongs to a customer we’d rather not share the link, but would be willing to send it via email.)
    All YouTube embedded videos show up as 500s in DevTools.

    We checked the PHP logs and saw the following error there:
    PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::save() in ../../../../wp-content/plugins/complianz-gdpr/functions.php:1873

    The interesting thing is, the customer has another site with the same YouTube video embeds and those links are coming in as 200s in DevTools. They are running the same versions of WordPress and Complianz. Have you seen such an error before? What could it be?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    thanks for your message.

    Are you using a cache plugin or a security one in this website? If yes, could you please disable them in order to check if it solves the issue?

    ethan green

    (@ethan-green)

    I also have a problem with YouTube embeds not working properly. in my case, no placeholder appears, just a blank white space until they click accept. The problem is they don’t even know there is a missing video because it’s just blank.

    Plugin Support antoiub

    (@antoiub)

    Hello @ethan-green ,

    Our developers have added the issue with the placeholders to their task queue. They’ll be reviewing it soon to identify the root cause and work on a solution.

    tonnick0033

    (@tonnick0033)

    Same issue here but only with litespeed cache activated. once desactivated, all is coming back

    Plugin Support leonardoiub

    (@leonardotamion)

    Hello @tonnick0033,

    please disable all the features related to JS optimization/JS minification/JS loading delay from your cache plugin or follow this guide to whitelist our JS.

    tonnick0033

    (@tonnick0033)

    I already did, but no change, we still have error 500. only activating cache, without any CSS / JS activated is going to error 500

    Note that error is still present with cache plugin desactivated, but this does not generate error 500 when we try to get the page. this is really strange

    2024-09-09 10:53:22.873304 [NOTICE] [4194302] [51.210.254.249:38554#mydomain.com] [STDERR] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::save() in mypath/httpdocs/wp-content/plugins/complianz-gdpr/functions.php:1873
    Stack trace: 0 mypath/httpdocs/wp-content/plugins/complianz-gdpr/functions.php(1798): cmplz_create_webp() 1 mypath/httpdocs/wp-content/plugins/complianz-gdpr/integrations/services/youtube.php(83): cmplz_download_to_site() 2 mypath/httpdocs/wp-includes/class-wp-hook.php(324): cmplz_youtube_placeholder() 3 mypath/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() 4 mypath/httpdocs/wp-content/plugins/complianz-gdpr/functions.php(1717): apply_filters() 5 mypath/httpdocs/wp-content/plugins/complianz-gdpr/integrations/plugins/elementor.php(159): cmplz_placeholder() 6 mypath/httpdocs/wp-includes/class-wp-hook.php(324): cmplz_elementor_cookieblocker() 7 mypath/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() 8 mypath/httpdocs/wp-content/plugins/complianz-gdpr/class-cookie-blocker.php(814): apply_filters() 9 mypath/httpdocs/wp-content/plugins/complianz-gdpr/class-cookie-blocker.php(404): cmplz_cookie_blocker->replace_tags() 10 [internal function]: cmplz_cookie_blocker->filter_buffer() 11 mypath/httpdocs/wp-includes/functions.php(5427): ob_end_flush() 12 mypath/httpdocs/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all() 13 mypath/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 14 mypath/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 15 /d

    2024-09-09 10:53:22.873589 [NOTICE] [4194302] [51.210.254.249:38554#mydomain.com] [STDERR] /httpdocs/wp-includes/load.php(1280): do_action() 16 [internal function]: shutdown_action_hook() 17 {main}

    thrown in mypath/httpdocs/wp-content/plugins/complianz-gdpr/functions.php on line 1873

    Plugin Support leonardoiub

    (@leonardotamion)

    Hello @tonnick0033 ,

    the dev team informed me you could:
    1) Install WP Debugging in order to check the source of the issue
    2) Uninstall our plugin
    3)Re-install our plugin

    This way you should be able to troubleshoot your specific issue understanding if there’s a third-party plugin in your website which is creating a conflict.

    sorry, I already replaced your plugin by another one. Issue was coming from complianz with youtube video + cache (any cache plugin, same issue).

    Wwithout cache plugin, error is still on apache’s logs, but not on browser’s dev console.
    With cache plugin, error in coming up in browser’s dev console.

    Hope you’ll find a solution for that.

    Plugin Support leonardoiub

    (@leonardotamion)

    Hello @tonnick0033,

    thanks for your feedback, we’ll be at your disposal anyway if you’ll need help from us.

    In the meantime have a good day!

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