JSON error with coupons
-
Hello!
I’m getting a “SyntaxError: Unexpected end of JSON input” error when I have a coupon loaded in the cart, when trying to advance to the gateway payment page. Once I remove the coupon it works normally.
Any ideas of what might be happening? Below my status report
### WordPress Environment ### WordPress address (URL): http://scannerdabolsa.com.br Site address (URL): http://scannerdabolsa.com.br WC Version: 5.4.1 REST API Version: ✔ 5.4.1 WC Blocks Version: ✔ 5.1.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 2.3.1 Log Directory Writable: ✔ WP Version: 5.7.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: pt_BR External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.20 PHP Post Max Size: 516 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.77.0 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.4.1 WC Database Prefix: wp_ Tamanho total do banco de dados: 15.17MB Tamanho dos dados do banco de dados: 12.29MB Tamanho do índice do banco de dado: 2.88MB wp_woocommerce_sessions: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_api_keys: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_woocommerce_order_items: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_order_itemmeta: Dados: 0.06MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_tax_rates: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_woocommerce_tax_rate_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zones: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_woocommerce_payment_tokens: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_woocommerce_log: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_actions: Dados: 0.02MB + Índex: 0.11MB + mecanismo InnoDB wp_actionscheduler_claims: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_groups: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_actionscheduler_logs: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_aioseo_notifications: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_aioseo_posts: Dados: 0.16MB + Índex: 0.02MB + mecanismo InnoDB wp_ce4wp_abandoned_checkout: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_commentmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_comments: Dados: 0.02MB + Índex: 0.09MB + mecanismo InnoDB wp_links: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailchimp_carts: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_mailchimp_jobs: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_mailpoet_custom_fields: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_dynamic_segment_filters: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_feature_flags: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_forms: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_mailpoet_log: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_mailpoet_mapping_to_external_entities: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletters: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_newsletter_links: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_mailpoet_newsletter_option: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_option_fields: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_posts: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_segment: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_newsletter_templates: Dados: 2.52MB + Índex: 0.00MB + mecanismo InnoDB wp_mailpoet_scheduled_tasks: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_scheduled_task_subscribers: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_segments: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_sending_queues: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_settings: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_statistics_clicks: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_mailpoet_statistics_forms: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_statistics_newsletters: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_statistics_opens: Dados: 0.02MB + Índex: 0.08MB + mecanismo InnoDB wp_mailpoet_statistics_unsubscribes: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_mailpoet_statistics_woocommerce_purchases: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_mailpoet_stats_notifications: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_subscribers: Dados: 0.02MB + Índex: 0.13MB + mecanismo InnoDB wp_mailpoet_subscriber_custom_field: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_subscriber_ips: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_mailpoet_subscriber_segment: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_mailpoet_user_flags: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_options: Dados: 3.03MB + Índex: 0.09MB + mecanismo InnoDB wp_postmeta: Dados: 0.27MB + Índex: 0.16MB + mecanismo InnoDB wp_posts: Dados: 4.44MB + Índex: 0.09MB + mecanismo InnoDB wp_sbi_instagram_feeds_posts: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_sbi_instagram_feed_locator: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_sbi_instagram_posts: Dados: 0.17MB + Índex: 0.00MB + mecanismo InnoDB wp_termmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_terms: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_term_relationships: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_term_taxonomy: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_usermeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_users: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_wc_admin_notes: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_admin_note_actions: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_category_lookup: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_customer_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_download_log: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_order_coupon_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_order_product_lookup: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB wp_wc_order_stats: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_wc_order_tax_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_wc_product_meta_lookup: Dados: 0.02MB + Índex: 0.09MB + mecanismo InnoDB wp_wc_reserved_stock: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB wp_wc_tax_rate_classes: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_wc_webhooks: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_yoast_indexable: Dados: 0.08MB + Índex: 0.08MB + mecanismo InnoDB wp_yoast_indexable_hierarchy: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB wp_yoast_migrations: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB wp_yoast_primary_term: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB wp_yoast_seo_links: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB ### Post Type Counts ### attachment: 76 custom_css: 1 customize_changeset: 5 mailpoet_page: 1 nav_menu_item: 6 page: 12 post: 15 product: 5 revision: 370 shop_coupon: 3 shop_order: 25 wp_block: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (13) ### All in One SEO: por Equipe All in One SEO – 4.1.1.1 Aspen Feature Pack by ShapingRain: por ShapingRain – 1.1.3 Creative Mail by Constant Contact: por Constant Contact – 1.3.9 Yoast Duplicate Post: por Enrico Battocchi & Team Yoast – 4.1.2 Site Kit by Google: por Google – 1.34.0 Highlighting Code Block: por LOOS Inc. – 1.2.9 Smash Balloon Instagram Feed: por Smash Balloon – 2.9.1 Jetpack: por Automattic – 9.8.1 Mailchimp para Woocommerce: por Mailchimp – 2.5.1 ShapingRain Framework: por Benjamin Intal Gambit ShapingRain Labs – 1.2.2 WooCommerce PagSeguro Oficial: por PagSeguro Internet LTDA. – 2.0.0 WooCommerce: por Automattic – 5.4.1 WP Fastest Cache: por Emre Vona – 0.9.1.8 ### Inactive Plugins (1) ### Envato Market: por Envato – 2.0.6 ### Settings ### API Enabled: – Force SSL: – Currency: BRL (R$) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Base da loja: #661 - /loja/ Carrinho: #662 - /carrinho/ Finalizar compra: #663 - /finalizar-compra/ Minha conta: #664 - /minha-conta/ Termos e condições: ❌ Página não definida ### Theme ### Name: Aspen Version: 2.0.0 Author URL: http://www.shapingrain.com/ Child Theme: ❌ – Recomendamos você utilizar um tema filho no caso de você estiver personalizando o WooCommerce em um tema ascendente. Veja como criar um tema filho WooCommerce Support: ✔ ### Templates ### Overrides: aspen/woocommerce/loop/add-to-cart.php aspen/woocommerce/single-product/product-image.php aspen/woocommerce/single-product/related.php aspen/woocommerce/single-product/tabs/additional-information.php aspen/woocommerce/single-product/tabs/description.php aspen/woocommerce/single-product/up-sells.php aspen/woocommerce/single-product-reviews.php ### Action Scheduler ### Complete: 44 Oldest: 2021-06-10 13:11:46 +0000 Newest: 2021-06-14 19:24:57 +0000 Pending: 3 Oldest: 2021-06-15 03:50:48 +0000 Newest: 2021-06-18 20:08:30 +0000 ### Status report information ### Generated at: 2021-06-14 16:44:20 -03:00The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘JSON error with coupons’ is closed to new replies.