• Resolved secretrivers

    (@secretrivers)


    Hi guys! I hope you can help me out!

    Woo Commerce asked me to update its database seems that nothing is working since then.

    The titel of the topic is the error message you get when placing an order in the store.
    I am not able to choose anything within my products andymore. If I click on e.g. variations nothing happens.
    I disabled all the plugins (germanized, stripe gateway, etc.) but nothing changes.

    Here’s my system status:

    
    ### WordPress Environment ###
    
    Home URL: https://www.secretrivers.com
    Site URL: https://www.secretrivers.com
    WC Version: 3.0.0
    Log Directory Writable: ?
    WP Version: 4.7.3
    WP Multisite: –
    WP Memory Limit: 128 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.30
    PHP Post Max Size: 200 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 10000
    cURL Version: 7.52.1
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: ?
    MySQL Version: ? 5.5.54 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 200 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.0.0
    WC Database Prefix: wp_
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    MaxMind GeoIP Database: ?
    
    ### Security ###
    
    Secure connection (HTTPS): ?Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ?
    
    ### Active Plugins (30) ###
    
    Polylang: by Frédéric Demarle – 2.1.2
    Ultimate Addons for Visual Composer: by Brainstorm Force – 3.16.9
    Booking Calendar: by wpdevelop – 7.0
    SiteOrigin Widgets by CodeLights: by CodeLights – 1.1.4
    Duplicate Post: by Enrico Battocchi – 3.1.2
    Google Tag Manager for WordPress: by Thomas Geiger – 1.5.1
    Enhanced Media Library: by wpUXsolutions – 2.4.4
    Instagram Feed: by Smash Balloon – 1.4.8
    WPBakery Visual Composer: by Michael M - WPBakery.com – 5.1
    MailChimp for WordPress: by ibericode – 4.1.0
    WooCommerce Product Carousel Slider: by ADL Plugins – 2.0
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 2.2.6
    Remove Query Strings From Static Resources: by Speed Up My Website
    Your WP Expert – 1.4
    
    Slider Revolution: by ThemePunch – 5.4.1
    SI Captcha Anti-Spam: by Mike Challis – 3.0.0.8
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.12.40
    
    UpSolution Header Builder: by UpSolution – 1.0.3
    Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 0.29.1
    WooCommerce Auto Restore Stock: by Gerhard Potgieter – 1.0.1
    WooCommerce Stripe Gateway: by WooCommerce – 3.1.6
    WooCommerce Germanized: by Vendidero – 1.8.8
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 1.6.1
    Woocommerce Products Per Page: by Jeroen Sormani – 1.2.2
    WooCommerce: by Automattic – 3.0.0
    Wordfence Security: by Wordfence – 6.3.5
    Yoast SEO: by Team Yoast – 4.5
    WP Fastest Cache Premium: by Emre Vona – 1.3.4
    WP Fastest Cache: by Emre Vona – 0.8.6.7
    WP-Optimize: by David Anderson
    Ruhani Rabin
    Team Updraft – 2.1.1
    
    WP Updates Notifier: by Scott Cariss – 1.4.4
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### WC Pages ###
    
    Shop base: #1050 - /store/
    Cart: #1060 - /cart/
    Checkout: #1061 - /checkout/
    My account: #1062 - /my-account/
    
    ### Theme ###
    
    Name: Impreza Child
    Version: 1.9
    Author URL: https://us-themes.com/
    Child Theme: ?
    Parent Theme Name: Impreza
    Parent Theme Version: 4.2
    Parent Theme Author URL: https://us-themes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    Can you try this and see what you get in the network inspector? https://mikejolley.com/2015/11/12/debugging-unexpected-token-in-woocommerce-2-4/

    Most likely something is outputting an error message during the checkout, causing that error.

    Thread Starter secretrivers

    (@secretrivers)

    Dear Claudiu,
    I check this out. But does that have any impact on the products in the backend? I can’t modify them, or even open the inventory, variations, etc.

    Thread Starter secretrivers

    (@secretrivers)

    I tried to load the backup of the plugins with updraft. Unfortunately this doesnt work either.
    My guess is that something with the database update of woocommerce went wrong also. It asked me to do that today and I did. According to the message received it should have went properly though.

    Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    It’s probably the same error or a similar error breaking the back-end. I can troubleshoot it a little bit if you can get me the error message or stack trace.

    Most likely one of your themes or plugins is not yet WooCommerce 3.0 compatible.

    Thread Starter secretrivers

    (@secretrivers)

    This is the first result of the network inspector:

    {“result”:”success”,”messages”:””,”reload”:”false”,”fragments”:{“.woocommerce-checkout-review-order-table”:”<table class=\”shop_table woocommerce-checkout-review-order-table\”>\n\t<thead>\n\t\t<tr>\n\t\t\t<th class=\”product-name\”>Produkt<\/th>\n\t\t\t<th class=\”product-total\”>Gesamtsumme<\/th>\n\t\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t\t\t\t<tr class=\”cart_item\”>\n\t\t\t<td class=\”product-name\”>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\tFishpond Piopod Microtrash Container Mini-Abfalleimer\t\t\t\t\t <strong class=\”product-quantity\”>× 1<\/strong>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t<\/td>\n\t\t\t<td class=\”product-total\”>\n\t\t\t\t<span class=\”woocommerce-Price-amount amount\”>14,90<span class=\”woocommerce-Price-currencySymbol\”>€<\/span><\/span>\t\t\t<\/td>\n\t\t<\/tr>\n\t\t\t<\/tbody>\n\t<tfoot>\n\n\t\t<tr class=\”cart-subtotal\”>\n\t\t\t<th>Zwischensumme<\/th>\n\t\t\t<td><span class=\”woocommerce-Price-amount amount\”>14,90<span class=\”woocommerce-Price-currencySymbol\”>€<\/span><\/span><\/td>\n\t\t<\/tr>\n\n\t\t\n\t\t\n\t\t\t\n\t\t\t<tr class=\”shipping\”>\n\t<th>Shipping<\/th>\n\t<td data-title=\”Shipping\”>\n\t\t\t\t\tVersandpauschale: <span class=\”woocommerce-Price-amount amount\”>5,90<span class=\”woocommerce-Price-currencySymbol\”>€<\/span><\/span> <input type=\”hidden\” name=\”shipping_method[0]\” data-index=\”0\” id=\”shipping_method_0\” value=\”flat_rate:13\” class=\”shipping_method\” \/>\t\t\n\t\t\n\t\t\t<\/td>\n<\/tr>\n\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t<tr class=\”order-total\”>\n\t\t\t<th>Gesamtsumme<\/th>\n\t\t\t<td><span class=\”woocommerce-Price-amount amount\”>20,80<span class=\”woocommerce-Price-currencySymbol\”>€<\/span><\/span><\/strong> <\/td>\n\t\t<\/tr>\n\n\t\t\n\t<\/tfoot>\n<\/table>\n”,”.woocommerce-checkout-payment”:”<div id=\”payment\” class=\”woocommerce-checkout-payment\”>\n\t\t\t<ul class=\”wc_payment_methods payment_methods methods\”>\n\t\t\t<li class=\”wc_payment_method payment_method_bacs\”>\n\t<input id=\”payment_method_bacs\” type=\”radio\” class=\”input-radio\” name=\”payment_method\” value=\”bacs\” checked=’checked’ data-order_button_text=\”Jetzt Kaufen\” \/>\n\n\t<label for=\”payment_method_bacs\”>\n\t\tVorkasse Banktransfer \t<\/label>\n\t\t\t<div class=\”payment_box payment_method_bacs\” >\n\t\t\t<p>\u00dcberweise den Betrag auf unser Bankkonto. Bitte benutze die Bestell ID als Zahlungsreferenz. Die Bestellung wird nicht vor Eingang der Zahlung versandt. Fragen? Ruf uns an +43 677 616 164 60<\/p>\n\t\t<\/div>\n\t<\/li>\n<li class=\”wc_payment_method payment_method_stripe\”>\n\t<input id=\”payment_method_stripe\” type=\”radio\” class=\”input-radio\” name=\”payment_method\” value=\”stripe\” data-order_button_text=\”Jetzt Kaufen\” \/>\n\n\t<label for=\”payment_method_stripe\”>\n\t\tKreditkarte VisaMastercardAmex\t<\/label>\n\t\t\t<div class=\”payment_box payment_method_stripe\” style=\”display:none;\”>\n\t\t\t<div\n\t\t\tid=\”stripe-payment-data\”\n\t\t\tdata-panel-label=\”\”\n\t\t\tdata-description=\”\”\n\t\t\tdata-email=\”\”\n\t\t\tdata-amount=\”2080\”\n\t\t\tdata-name=\”Secret Rivers\”\n\t\t\tdata-currency=\”eur\”\n\t\t\tdata-image=\”\”\n\t\t\tdata-bitcoin=\”false\”\n\t\t\tdata-locale=\”en\”\n\t\t\tdata-allow-remember-me=\”false\”><p>Pay with your credit card.<\/p>\n\n\t\t<fieldset id=\”wc-stripe-cc-form\” class=’wc-credit-card-form wc-payment-form’>\n\t\t\t\t\t\t<p class=\”form-row form-row-wide\”>\n\t\t\t\t<label for=\”stripe-card-number\”>Card number <span class=\”required\”>*<\/span><\/label>\n\t\t\t\t<input id=\”stripe-card-number\” class=\”input-text wc-credit-card-form-card-number\” inputmode=\”numeric\” autocomplete=\”cc-number\” autocorrect=\”no\” autocapitalize=\”no\” spellcheck=\”no\” type=\”tel\” placeholder=\”•••• •••• •••• ••••\” \/>\n\t\t\t<\/p><p class=\”form-row form-row-first\”>\n\t\t\t\t<label for=\”stripe-card-expiry\”>G\u00fcltig bis (MM\/JJ) <span class=\”required\”>*<\/span><\/label>\n\t\t\t\t<input id=\”stripe-card-expiry\” class=\”input-text wc-credit-card-form-card-expiry\” inputmode=\”numeric\” autocomplete=\”cc-exp\” autocorrect=\”no\” autocapitalize=\”no\” spellcheck=\”no\” type=\”tel\” placeholder=\”MM \/ JJ\” \/>\n\t\t\t<\/p><p class=\”form-row form-row-last\”>\n\t\t\t<label for=\”stripe-card-cvc\”>Card code <span class=\”required\”>*<\/span><\/label>\n\t\t\t<input id=\”stripe-card-cvc\” class=\”input-text wc-credit-card-form-card-cvc\” inputmode=\”numeric\” autocomplete=\”off\” autocorrect=\”no\” autocapitalize=\”no\” spellcheck=\”no\” type=\”tel\” maxlength=\”4\” placeholder=\”Sicherheitscode\” style=\”width:100px\” \/>\n\t\t<\/p>\t\t\t\t\t\t<div class=\”clear\”><\/div>\n\t\t<\/fieldset>\n\t\t<\/div>\t\t<\/div>\n\t<\/li>\n<li class=\”wc_payment_method payment_method_paypal\”>\n\t<input id=\”payment_method_paypal\” type=\”radio\” class=\”input-radio\” name=\”payment_method\” value=\”paypal\” data-order_button_text=\”Jetzt Kaufen\” \/>\n\n\t<label for=\”payment_method_paypal\”>\n\t\tPayPal PayPal acceptance markWas ist PayPal<\/a>\t<\/label>\n\t\t\t<div class=\”payment_box payment_method_paypal\” style=\”display:none;\”>\n\t\t\t<p>Zahlen via PayPal.<\/p>\n\t\t<\/div>\n\t<\/li>\n\t\t<\/ul>\n\t\t<div class=\”form-row place-order\”>\n\t\t<noscript>\n\t\t\tSollte dein Browser kein JavaScript unterst\u00fctzen, oder wenn dieses deaktiviert wurde, stelle bitte sicher, das du den Button Gesamtbetrag aktualisieren<\/em> klickst, bevor du deine Bestellung abschickst. Wenn du das nicht tust, k\u00f6nnte es m\u00f6glich sein, das du mehr bezahlen musst, als oben angegeben ist.\t\t\t<br\/><input type=\”submit\” class=\”button alt\” name=\”woocommerce_checkout_update_totals\” value=\”Gesamtbetrag aktualisieren\” \/>\n\t\t<\/noscript>\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t<input type=\”hidden\” id=\”_wpnonce\” name=\”_wpnonce\” value=\”ea3993b9bb\” \/><input type=\”hidden\” name=\”_wp_http_referer\” value=\”\/de\/kasse\/?wc-ajax=update_order_review\” \/>\t<\/div>\n<\/div>\n”}}

    Thread Starter secretrivers

    (@secretrivers)

    This the second one:

    Catchable fatal error: Argument 1 passed to Hyyan\WPI\Product\Stock::change() must be of the type array, object given, called in /home/.sites/924/site9537551/web/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php on line 56 and defined in /home/.sites/924/site9537551/web/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php on line 90

    So now i try again withou hyyan’s plugin

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Nothing wrong with the JSON, but the cachable error would give the error message in your original post if it was output before the JSON.

    Thread Starter secretrivers

    (@secretrivers)

    I deactivated all woocommerce related plugins, doesn’t help. which error message do you mean?

    Thread Starter secretrivers

    (@secretrivers)

    Unfortunately I don’t know how to do that. I tried to work with PHP Console but I am not expert enough to use it.
    I urgently need the store back running! What can I do! Is it possible to downgrade woocommerce?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    The Hyyan one. Once thats off I’d expect a different error or no error on your checkout, unless the gateway is doing it.

    My post explains how to get the response from checkout. Repeat with Hyyan off.

    Thread Starter secretrivers

    (@secretrivers)

    So you’re right, the problem of that error is gone.

    But now to the real big problem. I still cant use the products! How can we find out whats wrong with that? Again, I believe something went wrong when woocommerce updated the database.

    Thread Starter secretrivers

    (@secretrivers)

    Check out how everything is empty, no information in the product and no action possible. Same goes for yoast. Seems like everything is blocked.

    View post on imgur.com

    Thread Starter secretrivers

    (@secretrivers)

    how can I log that for you so you can check what went wrong with the update on 3.0?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thread Starter secretrivers

    (@secretrivers)

    Guess you are right, this is the error I get:

    View post on imgur.com

    Do you have an idea which plugin or other thing may causes the problem?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘SyntaxError: Unexpected token C in JSON at position 1’ is closed to new replies.