• Resolved franck86

    (@franck86)


    Hi,

    thanks for fast correction. I have found another little problem in my installation of wp_cassify.

    Notice: Undefined property: wp_cassify\WP_Cassify_Shortcodes::$wp_cassify_network_activated in /data/www/wordpress/wp-content/plugins/wp-cassify/classes/wp_cassify_shortcodes.php on line 46

    i think the problem comes from a missing parameter in calling the function.

    i made it works doing this :
    – wp-cassify.php i had a parameter line 117
    $wp_cassify_network_activated

    – modify wp_cassify_shortcodes.php like this :
    add parameter line 37
    $wp_cassify_network_activated
    remove $this from line 46
    $this->wp_cassify_base_url = WP_Cassify_Utils::wp_cassify_get_option( $wp_cassify_network_activated, 'wp_cassify_base_url' );

    best regards

    Franck

    https://ww.wp.xz.cn/plugins/wp-cassify/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Thanks for reply. You’re right. I’ve forgotten to pass $wp_cassify_network_activated in init() function of WP_Cassify_Shortcodes class. Then, if you’ve activated plugin on Network, it generate an error.

    I’ve corrected the code in version 1.6.6.

    Keep me informed if bug is still present in new version.

    Best regards.

    Okay, update to 1.6.6 solve the problèmes. Si, i close ticket.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘php error’ is closed to new replies.