WordPress.org

Ready to get started?Download WordPress

Forums

Intuitive Custom Post Order
[resolved] After upgrading it works but I get an Error message (11 posts)

  1. larese
    Member
    Posted 1 year ago #

    After upgrading to newest version, I got this message on Posts and pages manin pages in the dashboard:

    Warning: Missing argument 2 for hicpo_edit_post_per_page() in /web/htdocs/www.giorgiomirto.com/home/wp-content/plugins/intuitive-custom-post-order/intuitive-custom-post-order.php on line 87

    Warning: Missing argument 2 for hicpo_edit_post_per_page() in /web/htdocs/www.giorgiomirto.com/home/wp-content/plugins/intuitive-custom-post-order/intuitive-custom-post-order.php on line 87

    Any ideas to remove it?
    Thanx
    Luca

    http://wordpress.org/extend/plugins/intuitive-custom-post-order/

  2. larese
    Member
    Posted 1 year ago #

    This is the code /***************************************************************

    edit posts per page hook

    ***************************************************************/

    add_filter( 'edit_posts_per_page', 'hicpo_edit_post_per_page' );
    function hicpo_edit_post_per_page( $per_page, $post_type ) {

    $post_list_url = substr($_SERVER["REQUEST_URI"], -18, 18);
    if ( (isset($_GET['post_type']) && $_GET['post_type'] != 'page') || $post_list_url == '/wp-admin/edit.php' ) {
    $per_page = 999;
    }

    return $per_page;
    }

  3. eyephone21
    Member
    Posted 1 year ago #

    larese, i i keep getting the error.
    wordpress 3.4.2
    P.S.:By the way, plugin seems to works

  4. haven80
    Member
    Posted 1 year ago #

    Same here.
    Got that error message.
    By the way plugin seems to work fine.

    Can i download the older version?

  5. frameitsam
    Member
    Posted 1 year ago #

    Dittos, same error for me too.

  6. ecmedia
    Member
    Posted 1 year ago #

    I have the same error and the plugin is not working at all, after last upgrade. Hope the author to reply soon!

  7. hijiri
    Member
    Plugin Author

    Posted 1 year ago #

    I'm the author of Intuitive Custom Post Order.
    I apologize that error message.
    I upgraded 1.1.1. Please try this.

    I do the effort which corresponds directly.

  8. eyephone21
    Member
    Posted 1 year ago #

    Hi hijiri! with the last update (1.1.1) everything is running smooth again! Thanks for you precious code and your quick support!

  9. frameitsam
    Member
    Posted 1 year ago #

    There was an update the corrected the trouble. All is running great again.

  10. ecmedia
    Member
    Posted 1 year ago #

    It's all ok for me too. I downloaded the last upgrade directly from wordpress.org, deleted the plugin folder in my ftp and uploaded new unzipped folder. And then all worked perfectly again. Thanks!

  11. larese
    Member
    Posted 1 year ago #

    Thank you very much for the upgrade, also for me the problem is solved, no more error message !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.