WordPress.org

Ready to get started?Download WordPress

Forums

Don't Muck My Markup
Triggered Fatal Error on Activation (5 posts)

  1. mikeward
    Member
    Posted 7 months ago #

    Received this error when trying to activate the plugin in WP 3.8:

    Disable auto-formatting for this ' . get_post_type(); echo $output; } function save( $post_id ) { if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ) return $post_id; update_post_meta( $post_id, '_dont_muck', isset( $_POST['dont_muck'] ) ? true : '' ); } function insertCSS() { // Only load this stylesheet if they're on post.php inside the dashboard wp_enqueue_style( 'admin.css', plugins_url( 'css/admin.css', self::$plugin_url ) ); } static function checked() { // We're not "caching" this in a static property because this method will be called potentially multiple times throughout the loop $checked = get_post_meta( get_the_ID(), '_dont_muck', true); if ( empty( $checked ) ) return false; else return true; } }

    Please HELP! This is an important part of a production release.

    Thanks

    http://wordpress.org/plugins/dont-muck-my-markup/

  2. Martyn Chamberlin
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Mike,

    Sorry to here this. What theme are you using?

  3. mikeward
    Member
    Posted 6 months ago #

    Martyn,

    I am using Bones (http://themble.com/bones/). The plugin worked fine in development and installed fine on a pre WP 3.8 version. I even upgraded the dev box to 3.8 and the plugin seems fine. As I was getting the production box ready, with a clean 3.8 install, I cannot activate your plugin. I even deactivated all other plugins to make sure there was no conflict.

    The only other 'oddity' is that the production is on a Windows server and the dev is not, but I am not sure if that matters.

    Thanks

  4. Martyn Chamberlin
    Member
    Plugin Author

    Posted 6 months ago #

    Oh, my. Production WordPress on a Windows server? Tenderly, that's a very bad idea,. You will not be able to utilize WordPress pretty permalinks without a "index.php" in the URL which cripples SEO, as well as other implications.

    My plugin assumes a Linux environment... I am afraid I don't have plans in the near future of making it compatible with Windows.

  5. mikeward
    Member
    Posted 6 months ago #

    But... pretty permalinks is working without the index.php on the server thanks to rewrite rules. So, is the last point still valid or is Windows still an issue?

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.