wimwam
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] 504 Error on Certain Pages@annabealizabeth you seem to have helped me here! I can confirm that the snippet provided on the github page worked for me:
//TEMPORARY BUGFIX FOR WOOCOMMERCE "PHONING HOME" - REMOVE AFTER WOOC FIXES add_filter('woocommerce_admin_features', 'pk_woocommerce_admin_features'); function pk_woocommerce_admin_features($features) { if(($key = array_search('remote-inbox-notifications', $features)) !== false) { unset($features[$key]); } return $features ; }
In the mean time i’ll have to wait for a fix from WC.
Thanks a million!Forum: Plugins
In reply to: [WooCommerce] 504 Error on Certain PagesExact same issue here, tried all the same steps. Shop has always worked fine, but after the latest 4.9.1 update i get a 504 as soon as i save a product or want to enable/disable any random plugin. It only occurs after the WooCommerce plugin was activated.
I re-installed WordPress using the current database, tried using the default storefront theme and not using any other plugins.
My webhost (TransIP) said the same thing, nothing wrong on their side..
I’m going to try installing WooCommerce 4.8 and see if this helps.Forum: Networking WordPress
In reply to: multisite image upload path problemI was not able to fix this problem, but I did make some kind of workaround for it. I made the script below in my functions.php:
add_action( 'after_setup_theme', 'theme_setup' ); function theme_setup(){ global $wpdb; $pageid = $wpdb->get_var("SELECT option_id FROM $wpdb->options WHERE option_name = 'uploads_use_yearmonth_folders' AND option_value = '1'"); if(!$pageid) : update_option('uploads_use_yearmonth_folders', '1'); update_option('upload_path', 'wp-content/uploads'); endif; }
Note that I am now using the folder ‘uploads’ for ALL my blogs, I am no longer using the ‘blogs.dir/$blogid’ structure.
Forum: Plugins
In reply to: [WooCommerce] Product 'pretty' permalinks not working after 2.3.8 update!I just updated to 4.2.1, but still no luck! I’m putting back my backup of last week
Forum: Plugins
In reply to: [WooCommerce] Product 'pretty' permalinks not working after 2.3.8 update!Unfortunately this problem still exists.. It just keeps coming back.. I have made some dummy orders in one of my blogs and out of the blue this error comes back up again. After re-applying the above script everything works again, but I wonder why it keeps coming back?
Also a new problem popped up: my
order-received
endpoint in WooCommerce is now also broken.. It gives the same 404 error..Please is there anyone who can help?
Forum: Plugins
In reply to: [WooCommerce] Product 'pretty' permalinks not working after 2.3.8 update!I fixed this problem, but I would like to put some more info here as it is quite a scarce problem.
For the record: I am using a multi-store setup with some over 50 shops. Some blogs use template A, some blogs use template B. Only the blogs with template B have been affected by this problem.
The issue came from a fault while updating therewrite_rule
-rule in the database. (You can find it in your blogs’ table, example:wp_7_blogs
) While you can’t edit this in WordPress as it is grayed out with ‘SERIALIZED DATA’. You can find it in your database.After some searching in the database I found out that the affected blogs had a different value in this field. I replaced it with the line from the working blog and my damaged blogs worked again!
I found an older topic with the solution.
The guys in the link below made a script to ‘flush’ these rewrite_rules in the database, fixing the problem. Please read the full thread to see if you have the same issue and don’t forget to backup your database before using this script.Read this topic for the solution
From the topic I can say that they ‘think’ the origin of this issue came from updating wordpress in combination with some plugins.. so I should have switched off the plug-ins before updating wordpress.
Forum: Plugins
In reply to: [NextGen NivoSlider] slider isn't slidingMeanwhile my slider is actually working. I’m not that of a code expert but I tried calling jQuery in the header like this:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
and voila it’s sliding like a charm.. but I would still like to know why it occured..
Forum: Plugins
In reply to: [NextGen NivoSlider] slider isn't slidingI forgot: link to my site https://wjvalkema.nl/