TimberPost:: errors on live machines
-
We operate a stage-production process, so sites are developed on a staging server, then published out to production. The publish process copies all tables, plugins, and theme files, with a little URL conversion on the table data, where required.
We’ve been asked to vet your plugin for use on an upcoming client site.
Your plugin works on the staging site, but as soon as we copy the site over, it fails on the live, production machines.
We get numerous errors to do with the TimberPost object being invalid:
Notice: Undefined property: TimberPost::$post_name in /blah/wordpress/wp-content/themes/thejazzlabels/page.php on line 27
Notice: Trying to get property of non-object in /blah/wordpress/wp-includes/link-template.php on line 2429 Notice: Trying to get property of non-object in /blah/wordpress/wp-includes/link-template.php on line 2430
Notice: Undefined property: TimberPost::$post_title in /blah/wordpress/wp-content/plugins/timber-library/functions/timber-post.php on line 613
Notice: Undefined property: TimberPost::$post_content in /blah/wp-content/plugins/timber-library/functions/timber-post.php on line 631
The wordpress versions are the same (3.7.1), the platforms are setup identically, yet on staging it works, on live it doesn’t.
Could you provide any pointers to what might be wrong, or where we could insert debug messages to try find out what’s happening?
We note also there is a cache directory. When does that come into play? Is the plugin multisite compatible with this single plugin cache directory?
Please let us know!
regards,
Ade.
- The topic ‘TimberPost:: errors on live machines’ is closed to new replies.