Title: xmanoux's Replies | WordPress.org

---

# xmanoux

  [  ](https://wordpress.org/support/users/xmanoux/)

 *   [Profile](https://wordpress.org/support/users/xmanoux/)
 *   [Topics Started](https://wordpress.org/support/users/xmanoux/topics/)
 *   [Replies Created](https://wordpress.org/support/users/xmanoux/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/xmanoux/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/xmanoux/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/xmanoux/engagements/)
 *   [Favorites](https://wordpress.org/support/users/xmanoux/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Call to a member function main() on a non-object](https://wordpress.org/support/topic/call-to-a-member-function-main-on-a-non-object/)
 *  [xmanoux](https://wordpress.org/support/users/xmanoux/)
 * (@xmanoux)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/call-to-a-member-function-main-on-a-non-object/#post-891580)
 * You need to do the require outside any classes or functions.
    I don’t have a 
   better solution. But it works.

Viewing 1 replies (of 1 total)