• Resolved Sarun developer

    (@saruncloudspring)


    We have getting Fatal error from this plugin. So that we cant perform any API functionality on this site due to this API error. The error are following can you please resolve this error ASAP.

    Fatal error: Uncaught Error: Call to undefined method WPML_URL_Filters::remove_global_hooks() in /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-woocommerce-rest-api-support.php:51 Stack trace: #0 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/class-wp-hook.php(286): WCML_WooCommerce_Rest_API_Support->use_canonical_home_url(Object(WP)) #1 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/class-wp.php(373): do_action_ref_array(‘parse_request’, Array) #4 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/class-wp.php(713): WP->parse_request(”) #5 /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-includes/functions.php(960): WP->main(”) #6 /home/186997.cloudwaysapps.co in /home/186997.cloudwaysapps.com/wrwaebpzck/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-woocommerce-rest-api-support.php on line 51

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello and thank you for contacting us.

    Which version of WooCommerce Multilingual are you using?

    Which version of WPML plugins are you using?
    I would like to recommend you to upgrade to the latest version of WPML 4.0.8, as the error that you mention here looks like a class that we expect to be there is missing and creating the problem.

    Thread Starter Sarun developer

    (@saruncloudspring)

    we running WPML Multilingual CMS plugin with version 3.5.0. If i update the
    WPML Multilingual CMS Plugin then problem will resolve ?

    I am very much certain that if you update to a more current version – preferably the latest one, then the problem will be resolved.
    WPML 3.5.0 is a very old version. Perhaps maybe more than 2 years old.

    Of course, always make a backup before doing such big upgrades.
    You can use a plugin like Duplicator – as it is a fast and secure solution for 1:1 backups.

    Plugin Contributor Andreas Panag

    (@andrewp-2)

    Hello @saruncloudsprin

    I would like to ask you if the problem is still exist or you update to the latest version of wpml and everything is ok now.

    If not we need some more details about your error. We tried to added a fix but we need to ensure that this fix is quite good for an such an old version of wpml.

    I am looking forward for your reply.

    Thanks
    Andreas

    Plugin Contributor Andreas Panag

    (@andrewp-2)

    Since we don’t have news for some time, I am closing this ticket.

    If you still have problem, please feel free to open a ticket in wpml.org so we can help you.

    Thank you very much

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined method’ is closed to new replies.