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.
|July 1, 2019 at 6:03 pm #4121539|
I am trying to: update sitepress and string to the latest version
Link to a page where the issue can be seen: hidden link
I expected to see: three flags for sv, en, and de.
Instead, I got: Server Error 500 and a white page.
WPML Multilingual CMS | Documentation | WPML 4.1.4 release notes
Version 4.1.4 | Av OnTheGoSystems | Besök tilläggets webbplats
Ett fel av typen E_ERROR uppstod på rad 2496 i följande fil: /var/www/vhosts/scanfill.se/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php. Felorsak: Uncaught ArgumentCountError: Too few arguments to function SitePress::terms_clauses(), 1 passed in /var/www/vhosts/scanfill.se/httpdocs/wp-includes/class-wp-hook.php on line 288 and exactly 3 expected in /var/www/vhosts/scanfill.se/httpdocs/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:2496 Stack trace: #0 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/class-wp-hook.php(288): SitePress->terms_clauses(Array) #1 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/class-wp-term-query.php(654): apply_filters('terms_clauses', Array, Array, Array) #3 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/class-wp-term-query.php(288): WP_Term_Query->get_terms() #4 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/taxonomy.php(1178): WP_Term_Query->query(Array) #5 /var/www/vhosts/scanfill.se/httpdocs/wp-includes/category.php(57): get_terms(Array, Array) #6 /var/www/vhosts/scanfill.se/httpdocs/wp-conte
[OK] BackupBuddy Version = 220.127.116.11
|July 1, 2019 at 9:31 pm #4122221|
Languages: English (English )
Timezone: America/Los_Angeles (GMT-07:00)
as you are updating the plugins from an older version of WPML (more than a few past releases ) i recommend for this update to perform it manually
to do a manual update please follow these steps:
1. Backup your database – see for example: http://wordpress.org/extend/plugins/wp-db-backup/
2. Deactivate the existing WPML plugin and add-ons.
3. Delete the plugin files – this does not delete your translations. You will simply delete the plugin files from you "wp-content/plugins" folder NOT the database records.
4. Download the updated plugins from our servers and upload them to the plugin directory.
5. Activate the WPML plugin and add-ons.
let me know your results after the manual update , does the error persist ?
The topic ‘[Closed] E_ERROR: Uncaught ArgumentCountError’ is closed to new replies.