Fatal error when creating new post using the Masterpress API

This topic is: resolved
Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
June 27, 2013 at 8:53 am #3250
Adrian

Hello,

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
WordPress Version: 3.5.2
Multi-site: no
Host: thewhiteumbrella.com

# PHP ENVIRONMENT

PHP Version: 5.3.23
MySQL Version: 5.1.69
Operating System: Linux

Memory Limit: 256M
Max Execution Time: 240s
File Uploads: on
Post Max Size: 8M
Upload Max File Size: 2000M
Allow URL fopen: on

Short Open Tag: on
Display Errors: off

Register Globals: disabled
Magic Quotes GPC: enabled
Magic Quotes Runtime: disabled
Safe Mode: disabled

# ACTIVE WORDPRESS PLUGINS

BAW Login/Logout menu v1.3.2 – http://www.boiteaweb.fr/llm
Custom Post Type Permalinks v0.9.2.1 – http://www.torounit.com
Duplicate Post v2.4.1 – http://lopo.it/duplicate-post-plugin/
Login Logo v0.7 – http://txfx.net/wordpress-plugins/login-logo/
MasterPress v1.0.1.b5 – https://www.masterpressplugin.com
Peter’s Login Redirect v2.6.1 – http://www.theblog.ca/wplogin-redirect
Plugin Update Hider v0.0.4 – http://www.squarepenguin.com/wordpress/plugin_update_hider/
Raw HTML v1.4.10 – http://w-shadow.com/blog/2007/12/13/raw-html-in-wordpress/
Redirection v2.2.13 – http://urbangiraffe.com/plugins/redirection/
Simple User Password Generator v2.0.2 – http://10up.com/plugins/simple-user-password-generator-wordpress/

# INACTIVE WORDPRESS PLUGINS

MasterPress v1.0.1.b4 – https://www.masterpressplugin.com
WPMU DEV Dashboard v3.3 – http://premium.wpmudev.org/project/wpmu-dev-dashboard/

# SERVER SOFTWARE

Apache

Thank you for your help!

June 27, 2013 at 9:06 am #3252
traversal
Post count: 207

Sorry Adrian. Will look into this.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Latest From the Blog

Ability to deactivate licence domains within MasterPress account management

25th October 2024

We have just rolled out an account management feature which allows licence holders to have better control over the domains that use their licence key. From the MasterPress Account Management page, the list of Active Sites that use your licence now includes a function that allows you to remove a domain from your licence. Simply… 

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM