Support » Plugin: Google Photos Gallery with Shortcodes » PHP error “Undefined variable: desc” if “Show Image Title” is unchecked

  • Resolved motivmedia

    (@motivmedia)


    Hi. Setting up your plugin was much easier than setting up Google Photos which I’ve never used before. However, I encountered a bug which I’d like to report. As a quick fix one could add an @ in front of the line in question – but that’d get lost with an update and… well… would just be dirty 🙂

    Unchecking the setting “Show Image Title” results in the following PHP error on the album view page:
    Notice: Undefined variable: desc in /www/htdocs/w011d718/wordpress/_wordpress/wp-content/plugins/google-picasa-albums-viewer/shortcodes/partials/results_grid.php on line 139

    • This topic was modified 4 years ago by motivmedia. Reason: Clarified the title
Viewing 1 replies (of 1 total)
  • Thread Starter motivmedia

    (@motivmedia)

    I should add that this only happens when [cws_gpp_albums] is used without any parameters. When I added results_page and hide_albums to the shortcode the error was gone.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP error “Undefined variable: desc” if “Show Image Title” is unchecked’ is closed to new replies.