WordPress.org

Ready to get started?Download WordPress

Forums

Post Types Order
[resolved] Fatal error activation plugin (6 posts)

  1. switte_web
    Member
    Posted 12 months ago #

    Tryed installing this plugin through wordpress upload and by uploading on ftp. Same fatal error both times when I try to activate it.

    Fatal error: Cannot redeclare cpto_activated() (previously declared in /home/sites/site32313/web/wp-content/themes/pallas/plugins/post-types-order/post-types-order.php:17) in /home/sites/site32313/web/wp-content/plugins/post-types-order/post-types-order.php on line 35

    Is there a solution?
    Thanks!

    http://wordpress.org/extend/plugins/post-types-order/

  2. nsp-code
    Member
    Plugin Author

    Posted 12 months ago #

    It appear the plugin is already embed into your theme. You can comment out the line where it loads the post-types-order.php file, doing a search on your files should reveal the exact place where that is.

  3. switte_web
    Member
    Posted 11 months ago #

    Thanks for the answer!
    I gave it a go, found the file and comment out the line which loads the mentioned file. It worked as the re-order option disappeared in wordpress.
    Next I freshly installed the post-types-order plugin and activated it (no fatal error anymore). The re-order option appears again at the portfolios and slides but unfortunately I am still not able to re-order the items by click and drag.. nothing moves.
    Do you perhaps know any solution to this? Or is it template related?
    Thanks again.

  4. nsp-code
    Member
    Plugin Author

    Posted 11 months ago #

    If you can't drag and drop, there must be a javascript conflict/error, can you check on your browser console (or firebug for firefox)

  5. switte_web
    Member
    Posted 11 months ago #

    I've found the error using firebug. Seems to be a "TypeError: c.curCSS is not a function". Updated the jquery.js file on the ftp and it works! Hopefully nothing else will shut down..
    Thanks for the response!

  6. nsp-code
    Member
    Plugin Author

    Posted 11 months ago #

    Just to make clear to others in case they experience similar issue, your problem was a JavaScript error caused by another code (plugin or theme)

Reply

You must log in to post.

About this Plugin

About this Topic