sarumbear
Forum Replies Created
-
Forum: Plugins
In reply to: [Better Search Replace] Try decreasing the “Max Page Size” – error@denra Thank you. I will try your method next time I need to make a similar change.
Forum: Plugins
In reply to: [Better Search Replace] Try decreasing the “Max Page Size” – errorThank you @denra. Is that a remedy to the memory issue as well?
Forum: Plugins
In reply to: [Better Search Replace] Try decreasing the “Max Page Size” – errorThe fact of the matter is the allocated PHP memory is 2GB. Why the plugin sees only 768MB is part of the problem.
Forum: Plugins
In reply to: [Better Search Replace] Try decreasing the “Max Page Size” – errorWP 6.7.1
WP_MEMORY_LIMIT: 2048M
PHP memory_limit: 2048M
Max Page Size: 1000
Only active plugin on the site is Better Search Replace 1.4.7This is the debug entry for the plugin crash.
[04-Dec-2024 20:11:08 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /var/www/vhosts/nugenerecords.com/httpdocs/wp/wp-content/plugins/better-search-replace/includes/class-bsr-db.php on line 359
[04-Dec-2024 20:11:08 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vhosts/nugenerecords.com/httpdocs/wp/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 952Why is the plugin running a WooCommerce file? That plugin is not even active!
If 2GB memory is not enough then this plugin is no longer fit for purpose. Shame, as it used to work well.
This is what I have but CTA is still not closing the slide-in.
https://snipboard.io/mzF5tf.jpg
Tests failed on other devices that never visited the page before, including an iPad.
- This reply was modified 2 years, 11 months ago by sarumbear.
I’ve imported the JSON file to a test site below and had only Hustle active on the site. The result is the same. The slide-in is not closing after CTA and the close button is sending the page to the top.
Test site URL: https://test.sarumbear.com/
JSON download link: https://www.dropbox.com/s/5prvqdryulfmewe/hustle-slidein-20230529-120357-the-willows-dental-practice-staging-whitening.json?dl=0
In your test page you are not targeting a section on the same page. Maybe that is the problem?
I can give you access to the test site if it will be of any help.
I added the file hustle-scroll-fix.php that has the code in Github to the wp-content/mu-plugins folder but the scroll to top upon close still happens. Are you sure that is a code for a slide-in? It has the following line that suggests the code will only work on embeds.
if ( 'embedded' === $module->module->module_type ) {$html = str_ireplace( 'role="dialog"', 'role="form"', $html );}I’m surprised that a plugin that has 100,000+ installs have issues with a CTA that points to a section on the page and close when the CTA is done.
I will try the code but if the option to close the slide-in after CTA is possible, I rather not use a close button, instead just have a single button that is linked to the target section on the page, which closes after the CTA (button clicked). However, the slide-in is not closing after the first button is pressed. The button simply stays on the active mode (purple colour).
My setting is: https://snipboard.io/mLk1Co.jpg
How can I close slide-in after CTA conversion?
Here is the JSON
This is what I see on the documentation:
Additional Closing Methods (Popups & Slide-Ins Only)Copy heading anchor to clipboard
- After CTA Conversion (Popups only) – Many Call-to-action buttons redirect users to a new page, and if configured to do so, will close the original page in the process. However, if a CTA opens in a new tab or does not require redirection, these controls ensure the module does not remain open on the original page indefinitely.
Ignore this question. I read in the documentation that close on CTA is only available for pop-ups. Then may I ask why show that option on the slide-in settings?
However, I still have a question on close slide-in: I added the second button to close the slide-in but if I click on the first button, which scrolls the page to the target section but when I then click on the close button the page is scrolled to the top. How can I change that unnecessary behaviour?
- This reply was modified 2 years, 11 months ago by sarumbear.
Thank you
Forum: Plugins
In reply to: [HUSKY - Products Filter Professional for WooCommerce] Filter items in stockThank you. The extension worked. How can I change the label text?
Can’t you at least export a column showing if the user is a member or not as it is displayed on the standard user page?
Forum: Plugins
In reply to: [Import and export users and customers] Scheduled export?That will be very useful. In most shops, the store managers make mistakes and mess user data. A full site restore is a nuclear option for correcting entry errors. A periodically exported CSV will be enough on those cases. As far as I know there are no other plug-in for backing up only user data. You may corner a market offering user backup. 🙂
- This reply was modified 3 years, 8 months ago by sarumbear.
Very odd. Indeed, it is now working. Strange but who am I to argue. It works, you replied, sun is shining, it is not scorching hot… life is good. 🙂
Thank you!