• Resolved Ovidiu

    (@ovidiu)


    Looks like a plugin conflict with: http://wordpress.org/extend/plugins/xili-language/

    Any ideas?

    2013/06/13 09:29:19 [error] 647416#0: *21666 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot use object of type WP_Error as array in /var/www/clients/client1/web2/web/wp-content/plugins/xili-language/xili-language.php on line 1050" while reading response header from upstream, client: 197.168.228.180, server: ict-consult.co.za, request: "GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web2.sock:", host: "www.ict-consult.co.za", referrer: "http://www.ict-consult.co.za/wp-admin/update.php?action=install-plugin&plugin=events-manager&_wpnonce=df9f7d1116"
    
    2013/06/13 09:29:25 [error] 647416#0: *21666 FastCGI sent in stderr: "PHP message: WordPress database error Unknown column 'event_notes' in 'ict_em_events' for query ALTER TABLE ict_em_events CHANGE event_notes post_content longtext NULL DEFAULT NULL made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, em_init, em_install, em_create_events_table
    PHP message: WordPress database error Unknown column 'location_description' in 'ict_em_locations' for query ALTER TABLE ict_em_locations CHANGE location_description post_content longtext NULL DEFAULT NULL made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, em_init, em_install, em_create_locations_table
    PHP message: PHP Fatal error:  Cannot use object of type WP_Error as array in /var/www/clients/client1/web2/web/wp-content/plugins/xili-language/xili-language.php on line 1050" while reading response header from upstream, client: 197.168.228.180, server: ict-consult.co.za, request: "GET /wp-admin/plugins.php HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web2.sock:", host: "www.ict-consult.co.za"

    http://wordpress.org/extend/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry, can’t give further idea/comment here since I haven’t tried that plugin before but maybe you can check what’s on this line PHP message: PHP Fatal error: Cannot use object of type WP_Error as array in /var/www/clients/client1/web2/web/wp-content/plugins/xili-language/xili-language.php on line 1050

    Thread Starter Ovidiu

    (@ovidiu)

    line 1050: $obj_term = $ress[0]; // today only one language per post

    Does that help at all?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, I tried to install plugin – http://wordpress.org/extend/plugins/xili-language/ but everything went successful after activating EM or xili language? maybe you can try this steps just to narrow down the problem

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems

    Thread Starter Ovidiu

    (@ovidiu)

    hm, solved by activating them the other way around:

    deactivated the xili language plugin, activated your plugin, then activated xili again and all is good!

    THX.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    glad it’s working now, thanks for the update

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP error when activating the plugin’ is closed to new replies.