mrjingle
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP Fatal Error with multiple websites running WPML and WP6.1Forum: Fixing WordPress
In reply to: PHP Fatal Error with multiple websites running WPML and WP6.1Yep, for static hosts we’re restoring the closest backup in time right now, but a surprise rollback it’s not a feasible solution for anything running live services like woocommerce.
The alternatively suggested solution is to update the WPML and WPML String Translation plugins respectively to 4.5.12 and 3.2.3, but unsurprisingly the WPML website is currently hammered down by requests for the updates…
Sorry, that was just a silly error on my part – Didn’t realize that on a multisite wordpress config the settings are per-site and not globally handled trough the main wordpress install.
Regarding the import/export mismatch, the issue still remains but I can fix it by manually porting over the right sql fields.
It’s not a public facing website right now, where can I send you the url? to a support email, maybe?
Specifically regarding the last error, the plugin gets confused on line 300 of class-wpca-front-end.php, where this code:
if (((wcpa_get_option('show_meta_in_cart') && !is_checkout()) || (is_checkout() && wcpa_get_option('show_meta_in_checkout'))) && isset($cart_item[WCPA_CART_ITEM_KEY]) && is_array($cart_item[WCPA_CART_ITEM_KEY]) && !empty($cart_item[WCPA_CART_ITEM_KEY]))
returns false even if I can see the values inside $cart_item[‘wpca_data’][0] using xdebug. Not entirely sure what’s triggering it, though.
- This reply was modified 4 years, 9 months ago by mrjingle.
Unfortunately, as I said in my previous message, using the default wordpress export tools isn’t working. When imported the forms are shown as blank. Some kind of JSON parsing error when reimported, by looking at the browser console log.
I’ve tried fixing it by literally copying the content of the _wcpa_fb-editor-data DB meta_value from dev to staging, and while the fields appear correctly, once I add a product inside the cart the fields are missing from the checkout and order page. the staging environment is a multisite install, could this affect the inner workings of the plugin?
Thanks for your help.
Great, thanks!