snippet24
Forum Replies Created
-
Thank you, so far have this then:
global $wp_query;
$postid = $wp_query->post->ID;
$descripcion1 = substr(get_field('descripcion'), 0, 600);
$descripcion1 = iconv('UTF-8', 'UTF-8//IGNORE', $descripcion1);
$content = esc_xml($descripcion1);
$content = preg_replace('/[\x{1F300}-\x{1FAFF}\x{2600}-\x{27BF}]/u', '', $content);but it still doesn’t seem to remove those invalid characters, if I add for example to the ACF description in code view:
<li>๏ฟฟit returns
๏ฟฟmples y aplicables en la vida cotidiana.</p>Do note im testing now in localhost as I already found the invalid charter in the posts of the live site
Forum: Plugins
In reply to: [Autoptimize] Some assets not beign minified / deferred?Ahh all the reason. Thank you ๐
Kind Regards
- This reply was modified 2 weeks, 4 days ago by snippet24.
Forum: Plugins
In reply to: [Cloudflare] Cold load extremly slow..Hi, yes. I don’t know if maybe is a hosting performance issue, not sure really.
Does this happen for new content only?
Nop
What happens for old content that hasnโt changed?
If is expired or miss it loads slowly
How fast does content expire? (4 hours would is set as the default when you apply the pluginโs)
That would be the Browser Cache TTL? Is yes is set to “Respect existing headers”….
- This reply was modified 4 weeks, 1 day ago by snippet24.
Forum: Plugins
In reply to: [Autoptimize] Remove console.logs for improved performance?Ahh I understand :-/ Thank you Frank for giving it a try nevertheless ๐
Kind Regards
Forum: Plugins
In reply to: [Autoptimize] Remove console.logs for improved performance?Alright ๐
Forum: Plugins
In reply to: [Autoptimize] Remove console.logs for improved performance?Sure ๐ I can try locally and report any problems that may occur, is it a filter? and removing the code snippet does restore the console.logs right, meaning is temporally.
Hi @mosesmedh
I’m happy to say I contacted the hosting mentioning the reasons that points to a server related issue, and after that it seems to have been fixed (they told me they changed some server parameters (which only they can adjust) . Just for reference: I previously completely deleted Woocommerce data using
define( 'WC_REMOVE_ALL_DATA', true );and after installing the issue persisted, so I indicated this as well to the hosting support.Thank you all for the guidance through this matter, I’m marking the thread as solved.
Kind Regards
Also I don’t know why reviews are not showing, checked : general product settings, comment settings, the only one missing is here, but I cant enable it , it doesn’t get saved : https://drive.google.com/file/d/1KlRqCv-5UVzSPByZa2mXEuAzcFBzSTlf/view?usp=sharing
This is happening in storefront theme too.
- This reply was modified 3 months, 2 weeks ago by snippet24.
Hi
Could you please confirm whether the screenshot was taken in your local environment or on a staging site with your host? If itโs from a local setup, which environment are you using?
The first screenshot is from a local WAMP server (you can also see the “localhost” in the screenshot details
Iโll hold off until I hear back from you. In the meantime, please run a test on your local environment using the Storefront theme, with all plugins disabled except WooCommerce, so we can better understand the behavior of the issue.
Ok, I tested at least ten times, and none of them crashed or displayed the message “there was an error getting your inbox”.
Hi @mosesmedh
Thank you for getting back to us and for the update. Could you clarify where exactly the error you shared is showingโare you seeing it in the log?
Yes console log.
Iโd also like us to try a different approach. Please export your site to a local environment (such as WP Local, XAMPP, or WAMP) and check whether the same issue occurs there as well.
Yes I’m afraid is still happening, https://drive.google.com/file/d/1cEQ1hYnHrHxBq3VloI2W-hY0wXM5OQA8/view?usp=sharing but most of time its loads correctly, I should do more tests to be sure I guess? the screenshot happened once only, but I did get more 500 internal errors on : GET
http://localhost/wordpress/wp-json/jetpack/v4/connection?_locale=usereven though it loaded the inbox.
Update2: it happened a second time the classic error “Unable to load the inbox” but it is much less frequently than in the live site.
Once set up locally, run a conflict test by keeping only WooCommerce active, switching to a default theme, and deactivating all other plugins. Then check if the issue persists in that environment.
I will do that tomorrow as well my previous tests were with all plugins enabled.
I have further info though and a theory: it seems like even though first load of the inbox happens it also creates the bug / crash, if i click on “dismiss” in any inbox item it crashes like this (oj this happened on first; try I have to do more tests):
https://drive.google.com/file/d/1BI5JRPQXc37_rVUB9q6pSYZ_saaCgi2I/view?usp=sharing
Could it be related to heartbeat?
Update: seems like it is default the additional info when attributes are set in shipping (so the plugin mentioned above was successfully uninstalled). I do noted now I have issues setting a product to allow reviews. Reviews are enabled in general settings, but if I try to enable them in a product with quick edit or regular in “Enable reviews” under “advanced” it doesn’t get saved. If the plugin for reviews is disabled I actually get:
Uncaught (in promise)
Object { code: "fetch_error", message: "You are probably offline." }
โ
code: "fetch_error"
โ
message: "You are probably offline."I will do further tests tomorrow as is late here.
- This reply was modified 3 months, 3 weeks ago by snippet24.
Hi @mosesmedh
I will clarify: we had long time ago the Woocommerce site, but then it was decided to redirect to Mercadoshops and use that instead. But now the idea is to resurrect the website with the old Woocommerce, so no migration was done actually of data between platforms, we are just reactivating the old site with Woocommerce. The idea is to get it working.
- This reply was modified 3 months, 3 weeks ago by snippet24.
I noticed something odd: even though the plugin “Custom Product Tabs for WooCommerce” is disabled and in the case of the staging site is deleted, I’m still seeing the tab: “informacion adicional” in the product pages. Screenshot: https://drive.google.com/file/d/14UNEQJrbdWQ7uoK-nRddSLz4f3o_kQp4/view?usp=sharing
Hi @frankremmy ,
Yes this is expected behavior as we are looking forward to go back to Woocommerce from Mercadoshops, but we need the site to be stable before doing so. Some days ago I temporally disabled the redirection in Cloudflare to see if the problem was gone with it, but it wasn’t.
Also, your System Status Report you shared includes the live site link. Do you happen to have a staging site we can reference for further testing? If so, could you please share the staging site URL?
Sure here it is:
https://www.klotho.cl/klothodebug/
let me know if you want me to also clear/reset the same items in the sating site as well and to delete the failed log items too.Update: i have to disable all the other plugins in the staging site will do so now, do note the active theme is Twenty Twenty-Four
- This reply was modified 3 months, 3 weeks ago by snippet24.