Support » Plugin: Cookii - Free GDPR Cookie Consent » Error activating

  • Resolved GunnarKE

    (@gunnarke)


    Hi
    I’ve installed the latest version 1.0.1
    When I try to activatge I get this error:
    “Fatal error: Call to a member function get_option() on a non-object in /home/bbhhbcom/public_html/testml/wp-content/plugins/easy-wp-cookie-popup/lib/template-functions.php on line 57”
    any idea whats wrong
    Cheers
    Gunnar

    http://wordpress.org/plugins/easy-wp-cookie-popup/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I fixed this by editing the plugin as follows:

    File: /wp-content/plugins/easy-wp-cookie-popup/lib/template-functions.php

    Change lines:

    56: global $EasyWebtrends;
    57: if($EasyWebtrends->get_option( ‘presstrends’ ) == ‘enabled’) {

    To:

    56: //global $EasyWebtrends; (or remove this line)
    57: if(get_option( ‘presstrends’ ) == ‘enabled’) {

    Hope that helps.

    Thanks
    It works now.
    Gunnar

    Thanks to. It’s working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error activating’ is closed to new replies.