This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Shahar 12 months ago.

Assigned support staff: Lauren.

Author Posts
October 10, 2018 at 9:07 am #2803578

Shahar

Getting the following error message:

debug_backtrace() expects at most 1 parameter, 2 given in ...sitepress-multilingual-cms/classes/utilities/class-wpml-debug-backtrace.php on line 93

I saw the solution here:

https://wpml.org/forums/topic/some-errors-after-installing-wpml/

But although it hides the error message it's not actually fixing the problem, please update your code to use the debug_backtrace function correctly.

Thanks

October 10, 2018 at 5:30 pm #2805319

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. IThis error usually occurs when server side requirements are not met or are exhausted. Please update following things to resolve this:

1. Please check your websites WP Memory. The WP memory limit might need to be increased, it's different than php memory. PHP memory is fine but WordPress uses 40Mb as default in your site. Minimum requirements for WPML are 128Mb, I suggest to change it to 256Mb: https://wpml.org/home/minimum-requirements/

2. Please upgrade your server’s PHP version to a higher level. It is advised to use more up-to-date version for better performance and stability. You can contact your website hosting company to upgrade this for you.

3. Please upgrade your server’s MySQL version to a higher level. MySQL 5.6 and above is required.

We have another client who had the similar issue and was also able to solve it the same way:
https://wpml.org/forums/topic/errors-appear-on-the-side/#post-2758492

Please let me know if this resolves your issue. If not, please provide your debug information so that I can get a look at some of your configurations. We have an excellent article on how to located here: https://wpml.org/faq/provide-debug-information-faster-support/.

NOTE: Please be sure to check the box to indicate you can provide debug info and paste your debug info in the debug field provided, and NOT in the general response field.

October 15, 2018 at 9:43 pm #2818888

Shahar

Looks like it was an outdated version of PHP.
Thanks!