WordPress.org

Ready to get started?Download WordPress

Forums

Kontrol Developer Kit
[resolved] Fatal Error, unable to install, 'KontrolModel' not found (9 posts)

  1. awordpressenthusiast
    Member
    Posted 1 year ago #

    I receive the following error when attempting to use this plugin on wordpress 3.5 even after the most recent plugin update ( also tried with a fresh WP install):

    Fatal error: Class 'KontrolModel' not found in C:\wamp\www\wordpress\wp-content\plugins\kontrol-developer-kit\app\modules\app\taxonomies\taxonomies_hooks.php on line 21

    If you could please work on that bug, I am extremely excited about using your product.

    Thanks,
    aWordPressEnthusiast

    http://wordpress.org/extend/plugins/kontrol-developer-kit/

  2. Kontrolwp
    Member
    Plugin Author

    Posted 1 year ago #

    Hey aWordPressEnthusiast,

    Thanks for the heads up about your problem mate. I just did a fresh install of our plugin on a 3.5 install and didn't encounter any errors. However I did notice that your running it under WAMP which is something I haven't tried with the plugin yet. I'll setup WAMP later on tonight and try running it off there to see if there might be an issue with that.

    Do you have access to another server you can try setting it up on in the mean time? Also if possible, are you using the latest WAMP?

    We'll get to the bottom of this!
    Dave.

  3. awordpressenthusiast
    Member
    Posted 1 year ago #

    The latest version of WAMP has some issues with apache 2.4 that cause it to not be able to go live on my test server while maintaining additional functionality I need (I still use one of the more recent versions available, but with apache 2.2) I only have one other test server on which to test WordPress and your plugin, however, that server has the same setup, the only other thing I could do within reason would be to test it on a Linux virtual machine, I may try that later.

    Thanks,
    aWordPressEnthusiast

  4. Kontrolwp
    Member
    Plugin Author

    Posted 1 year ago #

    Hey awordpressenthusiast,

    I managed to replicate this issue in WAMP. Looks like this issue stems from not having PHP short tags enabled which WAMP seems to do by default. To fix this in WAMP, click on the WAMP icon, go to 'PHP Settings' and select the 'short open tag' from the menu near the top. Then click on the WAMP icon and 'Restart All Services'. That should fix it mate, let me know how you go!

    I'll make a note on the installation instructions for this.

    Cheers,
    Dave.

  5. Kontrolwp
    Member
    Plugin Author

    Posted 1 year ago #

    Ok went one better and made a automatic check for short tags when enabling the plugin, it will now fail gracefully and let the use know the exact problem and how to enable short tags. I'll push that fix live shortly.

    Cheers,
    Dave.

  6. awordpressenthusiast
    Member
    Posted 1 year ago #

    Thanks for the fix, it seems to have made a difference! However, now there is a new error:

    Fatal error: Call-time pass-by-reference has been removed in C:\wamp\www\wordpress\wp-content\plugins\kontrol-developer-kit\app\modules\app\taxonomies\models\taxonomies.model.php on line 178

    Thanks,
    awordpressenthusiast

  7. Kontrolwp
    Member
    Plugin Author

    Posted 1 year ago #

    Hey awordpressenthusiast,

    Ah looks like you're running PHP 5.4 which removed pass by reference, I was running WAMP 5.3. I'll take a look at this and change the references for 5.4. I'll let you know how I go.

    Cheers,
    Dave.

  8. Kontrolwp
    Member
    Plugin Author

    Posted 1 year ago #

    Ok should be all good now, looks like there was only two pass by reference calls left in from some old legacy code. I've fixed them up and pushed the changes, try downloading the plugin again and see how you go!

    Goodluck,
    Dave.

  9. awordpressenthusiast
    Member
    Posted 1 year ago #

    Seems to be working perfectly.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.