Support » Plugin: PiwigoPress » Notice: Undefined index: _content in thumbnails_reloader.php on line 27

  • Resolved AndrzejL

    (@andrzejl)


    Found this message when clicked on

    “Start with 5 recent pics.”

    after clicking at:

    “Insert piwigopress shortcode…”

    Notice: Undefined index: _content in /var/www/html/wordpress/wp-content/plugins/piwigopress/thumbnails_reloader.php on line 27

    Fix:

    Open the file mentioned in the notice message – in my case:

    /var/www/html/wordpress/wp-content/plugins/piwigopress/thumbnails_reloader.php

    and edit the line 27 from this:

    $pictures = $thumbc[“result”][“images”][“_content”];

    to this:

    $pictures = $thumbc[“result”][“images”];

    This fixed the issue for me.

    Cheers.

    Andrzej

    P.S. Btw. Just to add – my fix was based on this post:

    http://wordpress.org/support/topic/piwigo-260-and-piwigopress-223?replies=5

    by 3nd0

  • The topic ‘Notice: Undefined index: _content in thumbnails_reloader.php on line 27’ is closed to new replies.