Viewing 10 reply threads
  • Author
    Posts
    • #1324
      bicho44
      Member

      I receive a lot of Notice Error in my local enviroment like this
      Notice: Undefined index: object_id in /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-form.php on line 365

      Do you know that?

      They are really annoying 😀

      Regards from Argentina

    • #1326
      bicho44
      Member

      Also when i add a metabox to my post, page or cpt there’s this notice
      Notice: Undefined index: theme in /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-cpt.php on line 586

      Best regards

      • #1327
        Steve
        Keymaster

        Regarding this notice Notice: Undefined index: theme, where did you put the metabox code? In a plugin or your theme?

      • #1330
        bicho44
        Member

        In my theme, and this is my code, maybe you can help me with this.

        <?php
        /*
        Title: Slide Show
        Post Type: page,post,portfolio_item
        Description: Un Meta Box para que este post aparezca en el slideshow del Front Page
        Priority: high
        Order: 3
        Context: side
        */
        
        piklist (
            'field',
            array(
                'type' => 'radio',
                'scope' => 'post_meta',
                'field' => 'imgd_slideshow',
                'label' => __('Mostrar en SlideShow', 'imgd'),
                'value' => 0,
                'attributes' => array(
                    'class' => 'radio'
                ),
            'choices' => array(
                0 => __('No mostrar', 'imgd'),
                1 => __('Mostrar', 'imgd')
            ),
            'position' => 'wrap'
            )
        );

        And when i update the post or page, or portfolio_item, I receive an error

        Warning: Cannot modify header information - headers already sent by (output started at /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-form.php:1343) in /Users/bicho44/Sites/wordpress/wp-admin/post.php on line 233
        
        Warning: Cannot modify header information - headers already sent by (output started at /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-form.php:1343) in /Users/bicho44/Sites/wordpress/wp-includes/pluggable.php on line 896

        And that make a halt to my developement site.

    • #1331
      Steve
      Keymaster

      headers already sent usually means additional whitespace somewhere. Check the beginning or end of your files. Did you also modify functions.php? Check the beginning and end there as well.

      Let us know if that helped.

    • #1333
      bicho44
      Member

      I checked all the files, also if i de-activate the piklist plug-in the errors gone, so, i don’t understand what happen 😀

      Any help will be great.

    • #1336
      bicho44
      Member

      Also I deactivate all the plugins, and left the debugger ones, and the errors are the same.
      And delete the piklist plugin, and re-download but the errors came back.

      BTW, im using a underscore theme

      Again any help will be nice

    • #1341
      Steve
      Keymaster

      @bicho44– We can’t reproduce the error. Can you zip up your theme and email to: support at piklist dot com?

    • #1343
      Kevin
      Keymaster

      @bicho44

      The next release won’t have the notices you are seeing, we have removed them all. As for your theme, please send that over so we can be sure to get a fix into the next release if that’s what is needed.

      Thanks

      Kevin

    • #1348
      bicho44
      Member

      I tryd a clean local wordpress installation and the errors continued, only with Piklist 0.9.1 installed.

      I’m using MacOS 10.7.5 and MAMP Pro. and Twenty Eleven as theme

      This are the notice and errors when i try to activate twenty eleven the first time (FYI: Twenty eleven don’t have the piklist theme structure installed)

      Notice: Undefined index: _wp_http_referer in /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-workflow.php on line 45
      Notice: Undefined index: query in /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-workflow.php on line 47
      
      Warning: Cannot modify header information - headers already sent by (output started at /Users/bicho44/Sites/wordpress/wp-content/plugins/piklist/includes/class-piklist-workflow.php:45) in /Users/bicho44/Sites/wordpress/wp-includes/pluggable.php on line 896

      Regards

    • #1379
      Steve
      Keymaster

      fixed in version 0.9.2. Let us know if you still see notices.

    • #1382
      bicho44
      Member

      After a few test, still everything OK, also i have no errors. But i gonna make a few more test.

      — Edit
      OK, I found NO errors so far. Thanks I really wanna use the settings and related post.

    • #1388
      Kevin
      Keymaster

      Glad to hear things are looking better! Let us know if you have any questions or want to bounce and idea around.

      Thanks

      Kevin

Viewing 10 reply threads
  • You must be logged in to reply to this topic.