• Resolved julian.suggate

    (@juliansuggate)


    Hi there, I just installed Piklist 0.9.9.16, which looks like it’ll save me a ton of work! But I’m getting a lot of PHP warnings from Piklist classes.

    WP 4.9.4

    Using version 0.9.9.16 for wpackagist-plugin/piklist
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 1 install, 0 updates, 0 removals
      - Installing wpackagist-plugin/piklist (0.9.9.16): Loading from cache
    Writing lock file
    Generating autoload files

    I did the first tutorial for adding a meta box and receive the following on the Add New Post page:

    Notice: Undefined index: order in /srv/www/<redacted>/current/web/app/plugins/piklist/includes/class-piklist.php on line 2006

    Visiting the Piklist Settings page:

    Warning: count(): Parameter must be an array or an object that implements Countable in /srv/www/<redacted>/current/web/app/plugins/piklist/includes/class-piklist-form.php on line 679

    Is this expected or have I got a botched install (done via composer)?

    The first Notice is caused by an incorrect logical operator in the sort_by_args_order() function and has been fixed in master on github but I’m a bit confused about the versioning. Is 0.9.9.16 here on wp.org equal to 0.1 Beta 3 on github?

    I can fix it locally but that’s a bit hacky.

    Julian

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is there a stable branch in the github?’ is closed to new replies.