|June 27, 2013 at 8:53 am #3250|
I am getting a fatal error when I try to create a new post using the Masterpress API.
Using the first example for creating a new post from https://www.masterpressplugin.com/docs/developer/recipes/manipulating-posts-and-terms does not result in an error. However, when I change the post type from “post” to one of my custom post types, it creates the new post as expected, but results in the following fatal error:
Fatal error: Call to a member function is_dirty() on a non-object in /home/nfswuanc/public_html/wp-content/plugins/masterpress/core/api/meow/meow-post.php on line 337
Also there are warnings like this:
Warning: Illegal offset type in /home/nfswuanc/public_html/wp-content/plugins/masterpress/core/api/meow/meow.php on line 184
for lines 184, 195, 196, 199, 200, 203, 204, 208, and 215.
I do not get this error when my custom post type has no custom fields.
I have tried this with all plugins deactivated (except Masterpress) and with the Twenty-Twelve Theme.
The following is my typical setup:
Theme: Thesis 2.o.3
MasterPress Version: 1.0.1.b5
# PHP ENVIRONMENT
PHP Version: 5.3.23
Memory Limit: 256M
Short Open Tag: on
Register Globals: disabled
# ACTIVE WORDPRESS PLUGINS
BAW Login/Logout menu v1.3.2 – http://www.boiteaweb.fr/llm
# INACTIVE WORDPRESS PLUGINS
MasterPress v1.0.1.b4 – https://www.masterpressplugin.com
# SERVER SOFTWARE
Thank you for your help!
|June 27, 2013 at 9:06 am #3252|
Post count: 207
Sorry Adrian. Will look into this.
You must be logged in to reply to this topic.