• Hi After installing “Google XML Sitemaps” this warning suddenly appers

    Warning: in_array() expects parameter 2 to be array, null given in …/public_html/wp-content/plugins/dw-question-answer/dw-question-answer.php on line 211

    I don’t know about php so I will try my luck here maybe anyone can help me.

    below is the code for line 211

    ~// using action upgrader_process_complete
    public function register_upgrade_plugin( $upgrader_object, $args ) {
    $file_name = plugin_basename( __FILE__ );
    if ( in_array( $file_name, $args[‘plugins’] ) ) {
    update_option( ‘dwqa_plugin_upgraded’, true );
    }
    }~

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Plugin Google XML Sitemaps after installation warning comes up’ is closed to new replies.