wurzelsepp1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Listutil – Memory problemThis is the reason, why I’m asking. I already tried 1G and would add some if I knew how much can be used ..
Forum: Fixing WordPress
In reply to: Listutil – Memory problemThanks for your information.
As mentioned before, it’s a really large website (> 5 mio. products in post table). as the problem with the mem allocation daily happens, when a cron job calls wp_cron, we are not sure, if we assigned enough memory.
Is there a mem limit, WP can use?
- This reply was modified 10 months, 1 week ago by wurzelsepp1.
Forum: Plugins
In reply to: [WooCommerce] WP CLI / Syntax errors in source codeand this is the complete list of bugs, we had to fix in the atual release:
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/CLIRunner.php on line 761
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/CLIRunner.php on line 832
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php on line 494
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Internal/DataStores/CustomMetaDataStore.php on line 218
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php on line 417
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-shipping.php on line 352
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php on line 877
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Admin/API/ProductsLowInStock.php on line 78
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/src/Admin/API/ProductsLowInStock.php on line 211
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php on line 215
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Utilities/OrderController.php on line 526
PHP Parse error: syntax error, unexpected ‘)’ in wp-content/plugins/woocommerce/includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php on line 53Forum: Plugins
In reply to: [WooCommerce] WP CLI / Syntax errors in source codeThis is the error, happening:
PHP Parse error:??syntax error, unexpected ‘)’ in /var/www/vhosts/buecherstubedraht.de/shop.buecherstubedraht.de/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-subscriptions-api.php on line 228
It happens when you use WP CLI
To reproducte it, just type any command WP <something>
Btw:
Could you do at least basic testing before releasing a new version?Even the latest version has the error again. This causes a lot of work to the people who needs to fix that in the live systems ..
Best regards,
AlexForum: Plugins
In reply to: [WooCommerce] Parse error after updateWe had to fix that error in the meantime, as the website was not useable anymore.
you can easily reproduce that error when using wp cli – or just looking into the file. there is no system info needed to see, that there are syntax errors ..
We found the source of the problem indeed in the page cache.
By deleting the cache, the form was functional again. By now we have a huge spam problem so we need to re-enable captcha.
are there any recommendations on using “rocket” with your solution together with captcha?
Forum: Plugins
In reply to: [WooCommerce] Disable scheduled actionsThank you for the suggestion.
I’m not sure what this plugin is disabling .. but the scheduled actions are still added.
On the corresponding table, I found 50k entries with this hook info:
“woocommerce_run_product_attribute_lookup_update_callback”
Any idea how to disable this during product import?
Forum: Plugins
In reply to: [WooCommerce] Woo Rest-Api Bug?I found the issue. The Woo Api is working fine, even when several reuests come in. It just takes some time to answer – but fter the answer from the Api was sent, it is ready for the next request.
The problem was caused by the client software. Due to an error between my ears, the previous query wasn’t cleared before the next was sent.
Sorry for asking unnecessary questions… ??
Forum: Developing with WordPress
In reply to: REST-API Bulk operations bug?I found the issue. The Woo Api is working fine, even when several reuests come in. It just takes some time to answer – but fter the answer from the Api was sent, it is ready for the next request.
The problem was caused by the client software. Due to an error between my ears, the previous query wasn’t cleared before the next was sent.
Sorry for asking unnecessary questions… ??
Forum: Developing with WordPress
In reply to: Adding huge datasets to WoocommerceEven phpMyAdmin does not properly handle imports of some Gigabytes. But importing it directly to the server works fine and within a few minutes.
The idea, so export the tables first and then to examine the data, is nice but takes some extra investigations.
I’m still hoping, that someone out there did the job before and is willing to share his/her sample script. ??
Ifound a hundred questions like this on the web. it’s maybe even a business idea to write an importer for more than 1000 products… ??
Hi again,
we are currently investigating the problem on server side.
I’ll get back to you, as soon as we know what’s happing there ..
Best rgds,
AlexOther sites on the same server are running your plugin.
I can even not delete the plugin through the frontend of wp. it says, it couldnt be deleted as long at is is active. of course it was deactivated before ..
maybe that’s a hint?
My question was, how to call that clas from a wp-menu, where no html can be added.
concerning the filter:
I found something in your documentation, called short codes:
console.log( 'Shortcodes' ); // You can pass in the following parameters:\ 'cache_redirect' = false or true 'category' = 'marketing' 'text' = "Accept marketing cookies to enable this content"
But I have no idea how to implement.
Is there a sample available?
About No. 1:
As said before, I already tried to run the site with that safe mode plugin. it’s the same problem.Abount No.2:
On that demo site everythings works. Same as on several other sites we operate – even on the same server ..Hi again ??
unfortunately the filter does not exactly, what I need ..
as I understand, the function is called when settings are changed.
of course we need this check every time a page (or the main page) is loaded.
do you have a function that is able to read the settings and then to redirect?
and second q:
the function to call the banner, you recommend, how can I call it from a menu item of wordpress? in my invironment, it just does nothing.thanks,
alex