nextgen and photoswipe Illegal string offset
-
in some cases you will get a nullpointer exception with nextgen and photoswipe.
in line 39-41 of ngg-photoswipe.php
you have//Add scripts to disable additional viewers: $options = get_option( 'additional_viewers' ); if (1 == $options['fancybox']) {
change it into
//Add scripts to disable additional viewers: $options = get_option( 'additional_viewers' ); if ($options && 1 == $options['fancybox']) {
and in line 97
<?php checked( $options['fancybox'], 1 ); ?>
into
<?php if($options) checked( $options['fancybox'], 1 ); ?>
greez
uli muellerhttps://www.ads-software.com/plugins/photoswipe-for-nextgen-gallery/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘nextgen and photoswipe Illegal string offset’ is closed to new replies.