Title: koenmk's Replies | WordPress.org

---

# koenmk

  [  ](https://wordpress.org/support/users/koenmk/)

 *   [Profile](https://wordpress.org/support/users/koenmk/)
 *   [Topics Started](https://wordpress.org/support/users/koenmk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/koenmk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/koenmk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/koenmk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/koenmk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/koenmk/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15618325)
 * Hi Igor,
 * Yes, I cleared the Cache after I completed the steps that were suggested. Below
   this message you can find a copy of the log. I also added the functions.php file.
   I tried adding some custom code someone suggested in another form concerning 
   the same question. This however had no result, so i deleted it again. Im guessing
   the fatal error came from there, since there is no line 33 in my current functions.
   php file.
 * Logs:
 *     ```
       2022-05-02T14:45:08+00:00 CRITICAL syntax error, unexpected ';', expecting ']' in /var/www/vhosts/value-next.nl/httpdocs/wp-content/themes/kadence/functions.php op de lijn 33
   
       2022-05-02T14:46:31+00:00 CRITICAL syntax error, unexpected 'add_filter' (T_STRING) in /var/www/vhosts/value-next.nl/httpdocs/wp-content/themes/kadence/functions.php op de lijn 33
   
       2022-05-02T14:46:53+00:00 CRITICAL syntax error, unexpected ';', expecting ']' in /var/www/vhosts/value-next.nl/httpdocs/wp-content/themes/kadence/functions.php op de lijn 33
       ```
   
 * Functions.php:
 *     ```
       <?php
       /**
        * Kadence functions and definitions
        *
        * This file must be parseable by PHP 5.2.
        *
        * @link https://developer.wordpress.org/themes/basics/theme-functions/
        *
        * @package kadence
        */
   
       define( 'KADENCE_VERSION', '1.1.18' );
       define( 'KADENCE_MINIMUM_WP_VERSION', '5.4' );
       define( 'KADENCE_MINIMUM_PHP_VERSION', '7.0' );
   
       // Bail if requirements are not met.
       if ( version_compare( $GLOBALS['wp_version'], KADENCE_MINIMUM_WP_VERSION, '<' ) || version_compare( phpversion(), KADENCE_MINIMUM_PHP_VERSION, '<' ) ) {
       	require get_template_directory() . '/inc/back-compat.php';
       	return;
       }
       // Include WordPress shims.
       require get_template_directory() . '/inc/wordpress-shims.php';
   
       // Load the <code>kadence()</code> entry point function.
       require get_template_directory() . '/inc/class-theme.php';
   
       // Load the <code>kadence()</code> entry point function.
       require get_template_directory() . '/inc/functions.php';
   
       // Initialize the theme.
       call_user_func( 'Kadence\kadence' );
       ```
   
 * Thanks in advance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15618056)
 * Hi Sérgio,
 * I cleared the Woocommerce transients as well as the expired transients, after
   that I updated the permalinks. Sadly the problem problem still persists. Are 
   there any other steps I can take? I look forward to hearing from you!
 * Kind regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15614093)
 * Hi Igor,
 * I ran all the pending scheduled actions, but the issue still persists.
 * Kind regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15612681)
 * Hi,
 * You can find the link to the screenshot below:
    [https://snipboard.io/GCH2c1.jpg](https://snipboard.io/GCH2c1.jpg)
 * Kind Regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15612556)
 * Hi Margaret,
 * Thanks again for your quick response. I did not add any custom code, so there
   is nothing to disable. I deactivated all of the plugins again and changed the
   theme to storefront. Below you can see the System status report:
    I look forward
   to hearing from you!
 * ### WordPress Environment ###
 * WordPress address (URL): [https://value-next.nl](https://value-next.nl)
    Site
   address (URL): [https://value-next.nl](https://value-next.nl) WC Version: 6.4.1
   REST API Version: ✔ 6.4.1 WC Blocks Version: ✔ 7.2.2 Action Scheduler Version:
   ✔ 3.4.0 WC Admin Version: ✔ 3.3.2 Log Directory Writable: ✔ WP Version: 5.9.3
   WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language:
   nl_NL External object cache: –
 * ### Server Environment ###
 * Server Info: nginx/1.20.2
    PHP Version: 7.4.29 PHP Post Max Size: 8 MB PHP Time
   Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.52.1 OpenSSL/1.0.2u
 * SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.48-MariaDB-0+deb9u2 Max Upload
   Size: 8 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument:
   ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔
 * ### Database ###
 * WC Database Version: 6.4.1
    WC Database Prefix: nkhA6NRa_ Totale database grootte:
   48.43MB Database gegevens grootte: 46.46MB Database index grootte: 1.97MB nkhA6NRa_woocommerce_sessions:
   Data: 0.05MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_woocommerce_api_keys: Data:
   0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_woocommerce_attribute_taxonomies:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_woocommerce_downloadable_product_permissions:
   Data: 0.02MB + Index: 0.06MB + Engine InnoDB nkhA6NRa_woocommerce_order_items:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_woocommerce_order_itemmeta:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_woocommerce_tax_rates: 
   Data: 0.02MB + Index: 0.06MB + Engine InnoDB nkhA6NRa_woocommerce_tax_rate_locations:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_woocommerce_shipping_zones:
   Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_woocommerce_shipping_zone_locations:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_woocommerce_shipping_zone_methods:
   Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_woocommerce_payment_tokens:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_woocommerce_payment_tokenmeta:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_woocommerce_log: Data: 
   0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_actionscheduler_actions: Data:
   0.09MB + Index: 0.11MB + Engine InnoDB nkhA6NRa_actionscheduler_claims: Data:
   0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_actionscheduler_groups: Data:
   0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_actionscheduler_logs: Data: 0.06MB
   + Index: 0.03MB + Engine InnoDB nkhA6NRa_commentmeta: Data: 0.02MB + Index: 0.03MB
   + Engine InnoDB nkhA6NRa_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
   nkhA6NRa_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB nkhA6NRa_imagify_folders:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_links: Data: 0.02MB + Index:
   0.02MB + Engine InnoDB nkhA6NRa_mollie_pending_payment: Data: 0.02MB + Index:
   0.00MB + Engine InnoDB nkhA6NRa_options: Data: 3.02MB + Index: 0.08MB + Engine
   InnoDB nkhA6NRa_postmeta: Data: 1.52MB + Index: 0.14MB + Engine InnoDB nkhA6NRa_posts:
   Data: 40.36MB + Index: 0.20MB + Engine InnoDB nkhA6NRa_rank_math_404_logs: Data:
   0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_rank_math_analytics_objects: 
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_rank_math_internal_links:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_rank_math_internal_meta:
   Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_rank_math_redirections:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_rank_math_redirections_cache:
   Data: 0.02MB + Index: 0.02MB + Engine InnoDB nkhA6NRa_smush_dir_images: Data:
   0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_termmeta: Data: 0.02MB + Index:
   0.03MB + Engine InnoDB nkhA6NRa_terms: Data: 0.02MB + Index: 0.03MB + Engine 
   InnoDB nkhA6NRa_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
   nkhA6NRa_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_usermeta:
   Data: 0.05MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_users: Data: 0.02MB + Index:
   0.05MB + Engine InnoDB nkhA6NRa_wc_admin_notes: Data: 0.06MB + Index: 0.00MB 
   + Engine InnoDB nkhA6NRa_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB 
   + Engine InnoDB nkhA6NRa_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine
   InnoDB nkhA6NRa_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
   nkhA6NRa_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_wc_order_coupon_lookup:
   Data: 0.02MB + Index: 0.03MB + Engine InnoDB nkhA6NRa_wc_order_product_lookup:
   Data: 0.02MB + Index: 0.06MB + Engine InnoDB nkhA6NRa_wc_order_stats: Data: 0.02MB
   + Index: 0.05MB + Engine InnoDB nkhA6NRa_wc_order_tax_lookup: Data: 0.02MB + 
   Index: 0.03MB + Engine InnoDB nkhA6NRa_wc_product_attributes_lookup: Data: 0.02MB
   + Index: 0.03MB + Engine InnoDB nkhA6NRa_wc_product_meta_lookup: Data: 0.02MB
   + Index: 0.09MB + Engine InnoDB nkhA6NRa_wc_rate_limits: Data: 0.02MB + Index:
   0.02MB + Engine InnoDB nkhA6NRa_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB
   + Engine InnoDB nkhA6NRa_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + 
   Engine InnoDB nkhA6NRa_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
   nkhA6NRa_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_wpmailsmtp_debug_events:
   Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_wpmailsmtp_tasks_meta: 
   Data: 0.02MB + Index: 0.00MB + Engine InnoDB nkhA6NRa_wpml_mails: Data: 0.25MB
   + Index: 0.00MB + Engine InnoDB
 * ### Post Type Counts ###
 * attachment: 119
    custom_css: 1 customize_changeset: 11 nav_menu_item: 8 page:
   15 post: 3 product: 21 revision: 665 shop_coupon: 1 shop_order: 8 wp_global_styles:
   1 wpcf7_contact_form: 1
 * ### Security ###
 * Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
 * ### Active Plugins (1) ###
 * WooCommerce: door Automattic – 6.4.1
 * ### Inactive Plugins (14) ###
 * Contact Form 7: door Takayuki Miyoshi – 5.5.6
    Google Tag Manager for WordPress:
   door Thomas Geiger – 1.15 Imagify: door WP Media – 1.10 Kadence Blocks – Gutenberg
   Blocks for Page Builder Features: door Kadence WP – 2.4.4 Mollie Payments for
   WooCommerce: door Mollie – 7.1.0 Rank Math SEO: door Rank Math – 1.0.87 Site 
   Kit by Google: door Google – 1.73.0 Smush: door WPMU DEV – 3.9.9 WooCommerce 
   Menu Cart: door WP Overnight – 2.11.0 WP Fastest Cache: door Emre Vona – 1.0.0
   WPForms Lite: door WPForms – 1.7.4 WP Mail Logging: door Wysija – 1.10.4 WP Mail
   SMTP: door WPForms – 3.4.0 Yoast Duplicate Post: door Enrico Battocchi & Team
   Yoast – 4.4
 * ### Dropin Plugins (1) ###
 * maintenance.php: maintenance.php
 * ### Settings ###
 * API Enabled: –
    Force SSL: – Currency: EUR (€) 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 ###
 * Winkelbasis: #683 – /webshop/
    Winkelwagen: #684 – /winkelwagen/ Afrekenen: #
   685 – /afrekenen/ Mijn account: #686 – /mijn-account/ Algemene voorwaarden: #
   594 – /algemene-voorwaarden/
 * ### Theme ###
 * Name: Storefront
    Version: 3.9.1 (update naar versie 4.1.0 is beschikbaar) Author
   URL: [https://woocommerce.com/](https://woocommerce.com/) Child Theme: ❌ – Als
   je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf
   gebouwd hebt raden we het gebruik van een sub-thema aan. Zie: Hoe maak je een
   sub-thema
 * WooCommerce Support: ✔
 * ### Templates ###
 * Overrides: –
 * ### Action Scheduler ###
 * Afgerond: 192
    Oldest: 2022-04-11 10:51:06 +0000 Newest: 2022-05-03 15:32:44 
   +0000
 * In afwachting: 3
    Oldest: 2022-05-07 07:46:53 +0000 Newest: 2022-05-13 00:44:
   59 +0000
 * ### Status report information ###
 * Generated at: 2022-05-03 17:33:26 +02:00
 * Kind regards!
    `
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Add to cart does not work on single product page](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/)
 *  Thread Starter [koenmk](https://wordpress.org/support/users/koenmk/)
 * (@koenmk)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add-to-cart-does-not-work-on-single-product-page/#post-15612368)
 * Hi Mashi,
 * Thank you for your quick reply. Sadly switching the theme to storefront and disabling
   every plugin but woocommerce had no effect. When I tried flushing the permalink
   settings, I changed the permalink settings to ‘simpel’ and the button suddenly
   worked. This however messes up the entire URL structure of my website, so i had
   to change it back. Now the button is not working again. Do you have any idea 
   what seems to be causing this issue? Thanks in advance!
 * Kind regards,
    Koen

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