• Hello,
    Running WordPress 6.9 and PHP 8.2. Please fix the following deprecated PHP:

    Creation of dynamic property TenWebNewLibConfig::$plugin_wd_docs_link is deprecated

    1. wp-content/plugins/photo-gallery/wd/config.php:82
    2. TenWebNewLibConfig->set_options()
      wp-content/plugins/photo-gallery/wd/wd.php:24
    3. TenWebLibNew->wd_init()
      wp-content/plugins/photo-gallery/wd/start.php:33
    4. ten_web_new_lib_init()
      wp-content/plugins/photo-gallery/photo-gallery.php:1708
    5. BWG->overview()
      wp-content/plugins/photo-gallery/photo-gallery.php:394
    6. BWG->init()
      wp-includes/class-wp-hook.php:341
    7. do_action('init')
      wp-settings.php:742

    strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated`

    1. wp-includes/functions.php:7374
    2. strpos()
      wp-includes/functions.php:7374
    3. wp_is_stream()
      wp-includes/functions.php:2189
    4. wp_normalize_path()
      wp-includes/plugin.php:779
    5. plugin_basename()
      wp-admin/includes/plugin.php:1491
    6. add_submenu_page()
      wp-content/plugins/photo-gallery/photo-gallery.php:510
    7. BWG->admin_menu()
      wp-includes/class-wp-hook.php:341
    8. do_action('admin_menu')
      wp-admin/includes/menu.php:161

    str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

    1. wp-includes/functions.php:2196
    2. str_replace()
      wp-includes/functions.php:2196
    3. wp_normalize_path()
      wp-includes/plugin.php:779
    4. plugin_basename()
      wp-admin/includes/plugin.php:1491
    5. add_submenu_page()
      wp-content/plugins/photo-gallery/photo-gallery.php:510
    6. BWG->admin_menu()
      wp-includes/class-wp-hook.php:341
    7. do_action('admin_menu')
      wp-admin/includes/menu.php:161

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Malae

    (@malae)

    After more than 5 weeks and a recent update the above deprecated PHP warnings are still flooding the wp_debug.log file together with the Notice: Function _load_textdomain_just_in_time was called incorrectly. This makes it difficult to track down other issues.

    Please fix these issues.

    Plugin Support Nik

    (@nikitaanisimov)

    Hi @malae

    Thanks for flagging this!
    Could you please confirm that the version of the Photo Gallery plugin installed on your site is 1.8.38?

    Thread Starter Malae

    (@malae)

    Hello Nik,

    Yes the version is 1.8.38.

    Thread Starter Malae

    (@malae)

    Hello Nik,
    We are still seeing the deprecated PHP even after the update to version 1.8.39.

    Plugin Support Yasin Abedi

    (@yasinabedi)

    Hi @malae
    Sorry for the delayed response here.

    This is a known PHP deprecation notice, and our team is aware of it.

    We’ll work on addressing it in future Photo Gallery updates. For now, please keep the plugin updated so you receive the fix once it’s released.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.