if I permanently delete a product or if I restore it my WP goes into a fatal conflict (also applies to pages). The details of the error are:
wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-wp-cache.php. Error message: Maximum execution time of 30 seconds exceeded
Only by deactivating the 3 plugins (Media, Multilingual CMS and String Translation) , I can correctly perform the operations listed above.
I would be grateful in advance if you could correct this conflict. In case I should fix it myself, can you confirm if the best solution, i.e. the most appropriate one that doesn't create instability, is to increase the maximum execution time in class-wpml-wp-cache?.php in the path indicated above? If yes, can you confirm what is the next ideal value to increase? Will this change be lost with updates? If so, what action should I take to prevent this new value from being overwritten? Do I need to take further action to permanently fix this issue?
Thank you in advance for your support.
Best Regards
As per the error log you shared, it clearly says that you have exceeded the memory limit of 30. Which is very low and can be easily increased from your hosting configuration.
I'd suggest that you share the error logs directly with your hosting provider and they will know where to adjust the settings in the server for you.
I have WCFM and I haven't translated it yet, and I haven't translated the categories and attributes yet. I tried to change the language just to test the placement of a product, going from the default one to one of the possible alternative languages of the site and the following error pop-up alert immediately appears:
DataTables warning: table id=wcfm-messages - Ajax error. For more information about this error, please see hidden link
Please confirm that this message is normal considering I haven't translated the website yet? Or it is still an anomalous message; in this case what is it due to and how can I fix it? What does this error exactly mean? Will I destabilize the website if I switch from one language to another without first translating the categories, attributes and WCFM?
For now, I've set WPML to manual translation; Can I switch to automatic translation at any time without disrupting the website?
Furthermore, what is the best way to work in the background on the translation of the website without giving the website users the possibility to still use the multilingual part? I would like to be able to work on it and implement it only when all the multilingual environment will be correctly implemented and functioning.
I also fund this information under Php Info:
Utf8mb4 charset No Some features related to String Translations may not work correctly without utf8mb4 character.
Could this also be the cause of the problem? How best do I proceed to correct this point?
I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP) preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed
Your following answer will be private, which means only you and I have access to it.
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if required. This is also a reason the backup is critical.
Thank you for your kind answer. Sorry for the delay in answering you. I would prefer to send you descriptive screenshots of the errors that occur checking any inconsistencies that will emerge from your checking from my current settings. Together step by step please guide me where to check which settings in detail. It is company policy that we cannot disclose credentials for a login, thank you for your understanding. You should kindly provide me with a link that is still not visible to the public to forward the screenshots to.
Thanks for your understanding and support.
Best Regards
I confirm that also the error "DataTables warning: table id=wcfm-messages - Ajax error. For more information about this error, please see hidden link" persists.
However, I noticed in Woocommerce Multilingual & Multicurrency that the "Product attribute base" slug is missing (please see the attach). I would not like the table error to be due to the absence of this slug which thus affects the above error. How can I correct this point? Where and how can I check that the WPML installation was successful, with all possible connections, and above all that all slugs were generated correctly? In this case I don´t understand if it was missing by default (I don´t think because I´ve never had this problem) or if the slug disappeared with the installation of WPML.
An "Ajax error" could be a server-related issue. Could you please check with your hosting provider to see if you've any restrictions enabled on your server?
As for the missing product attribute tag, that is the normal behavior that it shows empty.