Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

All of the known issues are documented in https://wpml.org/known-issues/ you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described here https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Sumit 3 years, 9 months ago.

Assigned support staff: Sumit.

Author Posts
July 20, 2015 at 2:27 pm #662631

davidL-25

In the file ~/inc/installer/loader.php at line 70 and 71, please consider using get_template_directory() instead of TEMPLATEPATH to increase compatibility.

I have found cases where WPML is callable before the constant is instantiated and had to change the source file manually.

July 21, 2015 at 12:38 pm #663369

Sumit
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi,

Thank you for contacting support forum.

Thank you for the suggestion. But as far as I believe it can not raise any issue because TEMPLATEPATH is available just after the "setup_theme" hook.
Can you please elaborate (with example) the case so I can understand it better?

Thanks

The topic ‘[Closed] Consider using get_template_directory()’ is closed to new replies.