Support » Fixing WordPress » WPtouch with WPML fatal error and partial fix

  • Here is an easy win for anyone having the following problem with the free WP Touch plugin.

    There is a theme switcher at the bottom of your iPhone screen that has the option to switch between the mobile optimized screen or the full screen version.

    After installing WPML plugin switching themes induced the following error

    Fatal error: Call to undefined function wp_verify_nonce() in
    /home2/useraccount/public_html/mydomain/wp-content/plugins/wptouch/wptouch.php on line 523

    Thanks to this thread:
    http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_verify_nonce?replies=7

    I added the following at line 35 in /wp-content/plugins/wptouch/wptouch.php

    require_once(ABSPATH.'wp-includes/pluggable.php');

    Seems to have done the trick.

    But I say partial fix because there seems to be no way view posts in other languages than the default in the WPtouch optimized screen.
    Allegedly the WPML plugin and WPtouch plugin are compatible, but I dont know if that is only for the premium version of WPtouch or if it extends to the free version as well.

  • The topic ‘WPtouch with WPML fatal error and partial fix’ is closed to new replies.