Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @jslom

    This issue is now fixed. Please update to version 2.4.3.

    Thread Starter jslom

    (@jslom)

    Thank you! I have updated and noticed some more log deprecation notices with PHP8+

    [27-May-2025 01:29:40 UTC] PHP Deprecated: MABEL_BHI_LITE\Core\Models\Checkbox_Option::__construct(): Implicitly marking parameter $dependency as nullable is deprecated, the explicit nullable type must be used instead in /var/www/example.com/wp-content/plugins/business-hours-indicator/core/models/class-checkbox-option.php on line 13

    which refers to this line

    public function __construct( $id, $title, $label, $checked = false, $extra_info = null, Option_Dependency $dependency = null )

    I have fixed it with this

    public function __construct( $id, $title, $label, $checked = false, $extra_info = null, ?Option_Dependency $dependency = null )

    • This reply was modified 1 year ago by jslom.
    • This reply was modified 1 year ago by jslom.
    • This reply was modified 1 year ago by jslom.
    Thread Starter jslom

    (@jslom)

    Also

    [27-May-2025 01:35:51 UTC] PHP Deprecated: MABEL_BHI_LITE\Models\Opening_Hours::__construct(): Implicitly marking parameter $end as nullable is deprecated, the explicit nullable type must be used instead in /var/www/example.com/wp-content/plugins/business-hours-indicator/models/class-opening-hours.php on line 25

    which refers to

    public function __construct(DateTime $start = null, DateTime $end = null) {

    Fix changed to

    public function __construct(?DateTime $start = null, ?DateTime $end = null) {

    • This reply was modified 1 year ago by jslom.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Issues with 6.7’ is closed to new replies.