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 Shekhar Bhandari 2 years, 7 months ago.

Assigned support staff: Shekhar Bhandari.

Author Posts
February 18, 2017 at 3:19 am #1211558

ariefw

hi i've got error 500 after update wpml into 3.6.3, here some error log :

[Fri Feb 17 14:07:57 2017] [warn] [client 158.58.170.8] mod_fcgid: stderr: PHP Fatal error:  Call to undefined function wp_get_upload_dir() in /var/www/clients/client1/web1/web/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php on line 316
[Fri Feb 17 14:08:07 2017] [warn] [client 66.249.71.11] mod_fcgid: stderr: PHP Warning:  require(/var/www/clients/client1/web1/web/wp-content/plugins/sitepress-multilingual-cms/inc/functions-helpers.php): failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/wp-content/plugins/sitepress-multilingual-cms/sitepress.php on line 33
[Fri Feb 17 14:08:07 2017] [warn] [client 66.249.71.11] mod_fcgid: stderr: PHP Fatal error:  require(): Failed opening required '/var/www/clients/client1/web1/web/wp-content/plugins/sitepress-multilingual-cms/inc/functions-helpers.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client1/web1/web/wp-content/plugins/sitepress-multilingual-cms/sitepress.php on line 33

get the same result on manual upload wpml 3.6.3

February 20, 2017 at 3:34 am #1212070

Shekhar Bhandari
Supporter

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

Thank you for contacting WPML support.

It seems you are using an older version of WordPress, so the issue exists. Please update the WordPress to latest version to fix the issue.

You can also view this errata page where we have explained the issue and provided a solution: https://wpml.org/errata/call-to-undefined-function-wp_get_upload_dir/

I look foward to your reply.

Thanks