Forum Replies Created

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

    (@fabioambrosi)

    Thanks πŸ™‚ Very usefull!
    The problem was with quantcast’s cookie name (euconsent-v2, not tcf-v2).
    I’v fixed the problem using euconsent-v2 && tcf-v2[purpose][consents][1]=
    I don’t know why auto load doesn’t work using this url parameter and i have to reload page.

    Thanks

    Thread Starter fabioambrosi

    (@fabioambrosi)

    Hi Spacetime,
    thanks for your reply.
    Yes, is a question for privacy experts :-).
    My problem is with Ad Insert Pro URL PARAMETER.
    My tcData object decoded from the IAB TCF 2.0 cookie is different from the one shown in Ad Inser Pro guide so here my two questions:

    How can i check if a cookie is present or not with Ad Insert?
    Ho can i check if an attribute doesn’t have values?

    Here my cookie if an user doesn’t accept:
    CPSisK5PSisK5AKAmAITB9CgAAAAAH_AABCYAAAQ_AJMNS8gC7MscGTaNKoUQIwrCQqAUAFFAMLRFYAODgp2VgE-oIWACE1ARgRAgxBRgwCAAASAJCIgJACwQCIAiAQAAgBQgIQAETAILACwMAgAFANCxACgAECQgyOCo5TAgKkWiglsrEEoK9jTCAMs8CKBRGRUICNZogWBkJCwcxwBICXiyQPMUbwAAAAA.YAAAAAAAAAAA

    Decoding this cookie i find attributes like “purposeConsents”: {}, that doesn’t have any values.

    I wold like to insert a block if that attribute is empty (not false).

    Thanks again

    Thread Starter fabioambrosi

    (@fabioambrosi)

    Sure:
    https://www.giornalettismo.com

    Removing tags (facebook, google etc…) maybe solve the problem but we would like to avoid

    This is the error:

    2021-06-03 11:10:23 Error 2.16.181.222 AH01071: Got error 'PHP message: WordPress errore sul database Duplicate entry 'facebook' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Facebook', 'facebook', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'google' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Google', 'google', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'tripadvisor' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('TripAdvisor', 'tripadvisor', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'yelp' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Yelp', 'yelp', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'airbnb' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Airbnb', 'airbnb', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'amazon' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Amazon', 'amazon', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'ebay' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Ebay', 'ebay', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\nPHP message: WordPress errore sul database Duplicate entry 'walmart' for key 'slug' per la query INSERT INTOwp_terms(name,slug,term_group) VALUES ('Walmart', 'walmart', 0) fatta da do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, saswp_insert_platform_terms, wp_insert_term\n', referer: https://www.giornalettismo.com/wp-admin/

    • This reply was modified 4 years, 11 months ago by fabioambrosi.

    UPDATE:

    disabling the optimized CSS option fix this error.

    Same here:
    https://www.fabioambrosi.it/microsoft-flight-simulator-realta-virtuale-vr-visore/amp/

    I’m using swift theme.

    This is the error in the logs

    AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_contents() on null in /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/plugins/accelerated-mobile-pages/components/components-core.php:398\nStack trace:\n#0 /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/header.php(6): amp_header_core()\n#1 /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php(505): include('/var/www/vhosts...')\n#2 /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php(164): AMPforWP\\AMPVendor\\AMP_Post_Template->verify_and_include()\n#3 /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/plugins/accelerated-mobile-pages/components/components-core.php(419): AMPforWP\\AMPVendor\\AMP_Post_Template->load_parts()\n#4 /var/www/vhosts/fabioambrosi.it/httpdocs/wp-content/themes...'

    • This reply was modified 5 years, 1 month ago by fabioambrosi.
    Thread Starter fabioambrosi

    (@fabioambrosi)

    Thank You

    Thread Starter fabioambrosi

    (@fabioambrosi)

    Yes, you’re right πŸ™‚ My fault.
    Nginx as Proxy. I’m using Plesk with nginx for Static Resources and Apache for dynamics.

    Thread Starter fabioambrosi

    (@fabioambrosi)

    Sure, i’m using nginx/1.18.0 and php 7.4.8.

    I’m using this software to block bad requests: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.
    I’v also enabled fail2ban and ModSecurity.

    Tnx for your support

    Thread Starter fabioambrosi

    (@fabioambrosi)

    i’V tried πŸ™‚ I disabled all firewall’s rules but WordPress Site Health still say me that Resp Api is broken. I’v tried to uninstall and reinstall the plugin but nothing.

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