• Resolved Sara Patricia

    (@sarapatricia)


    Switching from PHP 7.4 to 8.0 throws:

    Warning: Undefined array key "slimbox2_resizeEasing" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 381
    Warning: Cannot modify header information - headers already sent by (output started at ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php:381) in ./wordpress/wp-includes/functions.php on line 6828
    Warning: Cannot modify header information - headers already sent by (output started at ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php:381) in ./wordpress/wp-admin/includes/misc.php on line 1310
    Warning: Cannot modify header information - headers already sent by (output started at ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php:381) in ./wordpress/wp-admin/admin-header.php on line 9
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author pablo2

    (@pablo2)

    Hi Sara,

    I made some updates. Please download the latest version and check if this problem is gone.

    Thread Starter Sara Patricia

    (@sarapatricia)

    Hi Pawel,

    many thanks for taking care of this. The
    Warning: Undefined array key "slimbox2_resizeEasing"
    is gone now, but now 78 other warnings come up which all might be related to undefined array keys, variables and properties. The gallery I am trying to display still doesn’t show up. I herewith attach 14 unique warnings. All the others were duplicates.

    Warning: Undefined array key "worldmap" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 945
    Warning: Undefined array key "status" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1477
    Warning: Undefined array key "ajax" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1479
    Warning: Undefined array key "locate_me_button" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 72
    Warning: Undefined array key "copyright" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 74
    Warning: Undefined array key "terms_link" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 75
    Warning: Undefined array key "logo" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 76
    Warning: Undefined variable $pin in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map_functions.php on line 72
    Warning: Undefined property: stdClass::$wp_caption in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map_functions.php on line 87
    Warning: Undefined array key "slimbox2_overlay_opacity" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/geo2_slimbox2.php on line 41
    Warning: Undefined array key "slimbox2_initial_width" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/geo2_slimbox2.php on line 43
    Warning: Undefined array key "slimbox2_initial_height" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/geo2_slimbox2.php on line 44
    Warning: Undefined array key "slimbox2_counter_text" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/geo2_slimbox2.php on line 45
    Warning: Undefined variable $wordmap_echo in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 668
    • This reply was modified 2 years, 10 months ago by Sara Patricia.
    Plugin Author pablo2

    (@pablo2)

    Ah. I wonder why I can’t see the same warnings. Where do they appear? In the browser console or the web page directly? And in the admin page or the gallery page?

    Thread Starter Sara Patricia

    (@sarapatricia)

    The error happens on the gallery page which doesn’t show the map and doesn’t show any errors or warnings in the browser development tools. No issues with the admin page.

    After calling the gallery page these php warnings show up in the /wordpress/php-error.log file with these configuration lines in my /wordpress/php.ini file:

    ; Set the error reporting level.
    error_reporting=E_ALL|E_STRICT
    
    ; Whether errors should be logged to file.
    log_errors=On
    ; Name of the file where errors should be logged.
    error_log=/wordpress/php-error.log
    
    ; Whether errors should be printed to the screen.
    display_errors=Off

    Only if you change the last line to display_errors=On they will show in the browser as well so that the whole screen fills up with them.

    Plugin Author pablo2

    (@pablo2)

    Hi Sara, I’m working on the update. Somehow these PHP warnings are not crashing my tests. I found one difference tho. You have some warnings and I suspect that the plugin options were not updated in MySQL database on your server. You would need to deactivate and activate the plunging with the option “Restore default settings” activated on the General tab on the plugin settings page. Please try this. This will not affect your shortcodes but you will need to enter BING map key again and adjust other settings as well.

    Thread Starter Sara Patricia

    (@sarapatricia)

    Hi Pawel, reactivating the plugin and restoring the default settings did the trick! The page now displays as expected, even after I re-applied my individual settings step by step. That’s a big step forward. THANK YOU VERY MUCH!

    The 9 warnings (duplicates removed) that still show up in the php-error.log are now:

    Undefined variable $options in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1121                      
    Undefined variable $gallery_ids in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1188                  
    Undefined array key "worldmap" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 945                    
    Undefined array key "status" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1477                     
    Undefined array key "ajax" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/functions.php on line 1479                       
    Undefined variable $pin in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map_functions.php on line 72                   
    Undefined property: stdClass::$wp_caption in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map_functions.php on line 87 
    Undefined array key "slimbox2_counter_text" in ./wordpress/wp-content/plugins/nextgen-gallery-geo/geo2_slimbox2.php on line 45    
    Undefined variable $wordmap_echo in ./wordpress/wp-content/plugins/nextgen-gallery-geo/bing_map.php on line 668

    Please continue the good work and many thanks for what you have achieved so far.

    • This reply was modified 2 years, 10 months ago by Sara Patricia.
    Plugin Author pablo2

    (@pablo2)

    Hi Sara,
    I hope you are well.
    Please, if it’s not a problem, could you check if you still have some PHP warnings?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not compatible with PHP 8.0’ is closed to new replies.