• 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

    https://www.ads-software.com/plugins/dont-muck-my-markup/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Martyn Chamberlin

    (@martyn-chamberlin)

    Hi Mike,

    Sorry to here this. What theme are you using?

    Thread Starter mikeward

    (@mikeward)

    Martyn,

    I am using Bones (https://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

    Plugin Author Martyn Chamberlin

    (@martyn-chamberlin)

    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.

    Thread Starter mikeward

    (@mikeward)

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Triggered Fatal Error on Activation’ is closed to new replies.