More Types
Fatal error after installing More Fields in addition to More Types (2 posts)

  1. mazzone
    Posted 4 years ago #

    Fatal error: Call to a member function add_cap() on a non-object in C:\wamp\www\trees_wp\wp-content\plugins\more-types\more-types-object.php on line 139


  2. Nader
    Posted 4 years ago #

    The problem is due to the fact that the roles aren't set for logged out users. You need to wrap the foreach/etc. in an if clause. Code would look like this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • More Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic