PHP error
-
session_start() expects parameter 1 to be array, string given in /home/madmaxon/public_html/wp-includes/plugin.php on line 525
so i check all my plugin and the only one using session_start it this one
function webdados_fb_open_graph_register_session(){
if(!session_id())
session_start();
}
function webdados_fb_open_graph_admin_init() {
webdados_fb_open_graph_wpseo_notice_ignore();
webdados_fb_open_graph_register_session();
}
add_action(‘admin_init’, ‘webdados_fb_open_graph_admin_init’);}
so i tried multiple fix
add_action(‘admin_init’, ‘webdados_fb_open_graph_admin_init’, 1);
add_action(‘admin_init’, ‘webdados_fb_open_graph_admin_init’, 10, 1);
add_action(‘admin_init’, array($this, ‘webdados_fb_open_graph_admin_init’));noting work so far i using php7 also ?? so how do i fix that things ??
https://www.ads-software.com/plugins/wonderm00ns-simple-facebook-open-graph-tags/
- The topic ‘PHP error’ is closed to new replies.