Title: Error message: Cannot use object of type WP_Comment as array
Last modified: August 3, 2019

---

# Error message: Cannot use object of type WP_Comment as array

 *  [crtodo](https://wordpress.org/support/users/crtodo/)
 * (@crtodo)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/)
 * Hello
 * My site was working perfectly with the plugin but suddenly I beggin to have the
   followin error and now, its innacesable:
 * Error Details
    ============= An error of type E_ERROR was caused in line 967 
   of the file /**/**/public_html/wp-content/plugins/transposh-translation-filter-
   for-wordpress/wp/transposh_admin.php. Error message: Cannot use object of type
   WP_Comment as array
 * The requested line shows the following;
 * )”;
    return $actions;
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-message-cannot-use-object-of-type-wp_comment-as-array%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [ChemaZ](https://wordpress.org/support/users/chemaz/)
 * (@chemaz)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/#post-11796271)
 * You might want to disable Transposh (renaming wp-content\plugins\transposh-translation-
   filter-for-wordpress\ in your WordPress directory) to make your website work 
   again, by using your hosting panel’s file manager, SFTP or such:
 * [https://duckduckgo.com/?q=wordpress+plugin+crashes+rename+directory](https://duckduckgo.com/?q=wordpress+plugin+crashes+rename+directory)
 * Afterwards, you can try to search for the error to find a solution (can’t find
   another occurrence with Transposh though), try reinstalling Transposh (backup
   your DB first, preferably), deactivating other plugins to find a conflict, or
   undoing any recent changes.
 * Good luck!
 *  Plugin Author [oferwald](https://wordpress.org/support/users/oferwald/)
 * (@oferwald)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/#post-11796292)
 * Hello,
 * I agree with [@chemaz](https://wordpress.org/support/users/chemaz/) regarding
   the way to go, first make sure that your site works
 * However, we have no reports of such error, and something probably have changed
   so this will happen, any information regarding this will help us resolve this
   quicker
 * Good luck,
 *  Thread Starter [crtodo](https://wordpress.org/support/users/crtodo/)
 * (@crtodo)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/#post-11799124)
 * Hello
    Thanks for your help. I already rename the plugin folder, however, Also
   disable all the plugins using phpmyadmin but the site still dont work. I cant
   accest to the wordpress dashboard neither.
 *  Plugin Author [oferwald](https://wordpress.org/support/users/oferwald/)
 * (@oferwald)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/#post-11801758)
 * Hi,
 * Do you still get an error from our plugin after renaming the directory? This 
   does not make much sense, as after renaming (hack, even just delete the plugin
   directory) the code should not be accessible.
 * My guess is that there is something elsewhere not properly configured.

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

The topic ‘Error message: Cannot use object of type WP_Comment as array’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/transposh-translation-filter-for-
   wordpress_495166.svg)
 * [Transposh WordPress Translation](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/transposh-translation-filter-for-wordpress/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [oferwald](https://wordpress.org/support/users/oferwald/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/error-message-cannot-use-object-of-type-wp_comment-as-array/#post-11801758)
 * Status: not resolved