dyin
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] PHP warning messageOk I had to rollback to version 3.5
3.6.1 gave me a fatal error.Got error ‘PHP message: PHP Warning: Undefined array key “hide_upgrade_menu” in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/settings.php on line 109PHP message: PHP Warning: Undefined array key “hide_upgrade_menu” in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/settings.php on line 109PHP message: PHP Fatal error: Uncaught TypeError: Code_Snippets\Settings\Setting_Field::render_checkbox(): Argument #3 ($checked) must be of type bool, null given, called in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php on line 163 and defined in /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php:129\nStack trace:\n#0 /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(163): Code_Snippets\Settings\Setting_Field::render_checkbox(‘code_snippets_s…’, ‘Verberg de upgr…’, NULL)\n#1 [internal function]: Code_Snippets\Settings\Setting_Field->render_checkbox_field()\n#2 /data/sites/web/mysite/www/wp-content/plugins/code-snippets/php/settings/class-setting-field.php(103): call_user_func(Array)\n#3 /data/sites/web/mysite/www/wp-admin/includes/template.php(1824): Code_Snippets\Settings\Setting_Field->render(Array)\n#4 /data/sites/web/mysite/w…’
EDIT: the rollback fixed the issue
- This reply was modified 2 years, 6 months ago by dyin.
Forum: Plugins
In reply to: [WooCommerce] database growing too fast after last updateI tried regenerating the lookup table in the tools setting of Woocommerce. Not sure if it will work. It had a note: WP-cron disabled. That is true because I am using a real cron job on the server.
For extra info: I don’t really need the lookup function, I think because I don’t have a lot of products. I just have the same one in two languages. I mention this because WPML and Woo aren’t the best friends when it comes to the code.
Forum: Plugins
In reply to: [WooCommerce] database growing too fast after last update5 hours later I am at 5000 actions again for the same product lookup regeneration
On the “WooCommerce – Status – Tools” that part is still greyed out with the number 80 that keeps on being displayed as to be processed. I don’t have many products so it should be done in a few minutes.
On the setting advanced page for products it also just says it is being generated
- This reply was modified 2 years, 6 months ago by dyin.
Forum: Plugins
In reply to: [WooCommerce] High-Performance Order Storage option greyed out@puddesign I think that is because you first need to sync the posts and orders. Field below.
Forum: Plugins
In reply to: [WooCommerce] Add to cart not working for my products.@themehigh done. thx
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] English/dutch email@poesch I have my mails in dutch and french so it should work for you. Have you tried looking the exact text up in the stringtranslator of WPML? Also select the option “include translations”
Forum: Plugins
In reply to: [WooCommerce] Default option to log in before checkout@techedge83 ok, I guess I will stick with the plugin as it is light and well coded.
It would be a nice default though. There is a reason why large online shops do it that way :D. Is there a feature request page for WooCommerce?Forum: Plugins
In reply to: [WooCommerce] Default option to log in before checkout@techedge83 ok I see. That isn’t the way I am doing it now though. I am always letting them go through the login page if they are not logged in before they go to checkout. I am a wholesale business and my clients need their shipping details from their account (and other things).
Most large webshops (Amazon / bol.com / …) do the same so it would have been nice to have the option build in.
I did find this also on stackoverflow: php – Redirect to login (my-account) before checkout and return to checkout after login – Woocommerce – Stack Overflow
Forum: Plugins
In reply to: [WooCommerce] Default option to log in before checkout@techedge83 thanks for the info! So it does the following steps?
If not logged in: Cart > create account / login > checkout
If logged in: Cart > checkoutedit: I tried a few of the settings in WooCommerce and I can not replicate the behaviour with the default settings. Is there a guide? Perhaps I am doing something wrong
- This reply was modified 2 years, 9 months ago by dyin.
Forum: Plugins
In reply to: [Download Monitor] WP download log large@cristianraiber-1 Awesome. Any tips to manually clean it are also welcome. Eg: a mysql command
Forum: Plugins
In reply to: [Download Monitor] WP download log large@nenesse8 thank you for the tip on how to purge
@cristianraiber-1 It would be awesome if the plugin would take into account how long you would need the data. Personally I don’t need the history at all but if users would get the options for a certain timeframe that would work too.
I am on a shared host so I need to take care of the amount of data I keep.Forum: Plugins
In reply to: [Index WP MySQL For Speed] database grew after creating keys@olliejones thank you for your super fast reply. I am in contact with my host to see what I can do.
Edit: for the time being I disabled the plugin and the keys. I also found one error in the logs that appears often:
[Wed Jul 19 15:01:35.848714 2023] [error] [pid 474966] mod_proxy_fcgi.c(887): [client 2a02:1810:1c39:b500:99c3:94ed:25cc:99a7:0] AH01071: Got error ‘PHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘DESC wp_download_log/imfs-query-tag3538956810/’ at line 1 for query EXPLAIN DESC wp_download_log/imfs-query-tag3538956810/ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, ImfsMonitor->imfsMonitorGather, ImfsMonitor->encodeQuery’
- This reply was modified 2 years, 9 months ago by dyin.
Forum: Plugins
In reply to: [Redis Object Cache] Connection timed out@tillkruess thank you for your fast reply. How would I monitor the process and increase the connections? Is that something I need to ask my hosts’ help for?
Sorry I’m not too familiar with these things 🙂Forum: Plugins
In reply to: [Quantity Plus Minus Button for WooCommerce] Compatibility with site@mdibrahimk48 wow, thanks. I will create a ticket soon.