Support » Plugin: issuupress » Undefined indexes

  • Resolved Risto Niinemets

    (@ristoniinemets)


    from issuupress.php, line 205:
    if($_GET['documentId'] != '') {
    should be
    if(isset($_GET['documentId']) && $_GET['documentId'] != '') {

    from issuupress.php, line 246:
    $isInTags = (is_array($d->document->tags) && in_array($this->filterByTag, $d->document->tags));
    should be
    $isInTags = (isset($d->document->tags) && is_array($d->document->tags) && in_array($this->filterByTag, $d->document->tags));

    from issuupress.php, line 259:
    $selected = ($dId == $docId) ? 'class="issuu-selected"':'';
    add

    $selected = ($dId == $docId) ? 'class="issuu-selected"':'';
    $link_target = '';

    Turn on WP_DEBUG and WP_DEBUG_DISPLAY to see the errors 🙂

    https://wordpress.org/plugins/issuupress/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined indexes’ is closed to new replies.