• Resolved derekg1023

    (@derekg1023)


    Hi,

    We get a log of entries all day long in our debug log all of which I have removed duplicates for and have provided below. We’re on PHP 8.2 and the latest Responsive Menu plugin. Are there any plans to fix some of these deprecated errors? Some of these such as the “Twig” ones have been alerting for years even on PHP 7.4.

    Thanks!

    PHP Deprecated: Return type of ResponsiveMenuPro\Container\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Container/Container.php on line 33
    PHP Deprecated: Return type of ResponsiveMenuPro\Container\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Container/Container.php on line 16
    PHP Deprecated: Return type of ResponsiveMenuPro\Container\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Container/Container.php on line 11
    PHP Deprecated: Return type of ResponsiveMenuPro\Container\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Container/Container.php on line 37
    PHP Deprecated: Creation of dynamic property ResponsiveMenuPro\Licensing\Check::$beta is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Licensing/Check.php on line 47
    PHP Deprecated: Creation of dynamic property ResponsiveMenuPro\Database\Database::$db is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Database/Database.php on line 8
    PHP Deprecated: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Loader/Filesystem.php on line 35
    PHP Deprecated: Creation of dynamic property ResponsiveMenuPro\Controllers\FrontController::$manager is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Controllers/FrontController.php on line 36
    PHP Deprecated: Creation of dynamic property ResponsiveMenuPro\Controllers\FrontController::$view is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Controllers/FrontController.php on line 37
    PHP Deprecated: Return type of ResponsiveMenuPro\Collections\OptionsCollection::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Collections/OptionsCollection.php on line 212
    PHP Deprecated: Return type of ResponsiveMenuPro\Collections\OptionsCollection::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Collections/OptionsCollection.php on line 216
    PHP Deprecated: Return type of ResponsiveMenuPro\Collections\OptionsCollection::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Collections/OptionsCollection.php on line 222
    PHP Deprecated: Return type of ResponsiveMenuPro\Collections\OptionsCollection::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Collections/OptionsCollection.php on line 226
    PHP Deprecated: Return type of ResponsiveMenuPro\Collections\OptionsCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/app/Collections/OptionsCollection.php on line 238
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 222
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 234
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 243
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 248
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 253
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 187
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 191
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 211
    PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Lexer.php on line 283
    PHP Deprecated: Return type of Twig_Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Node.php on line 209
    PHP Deprecated: Return type of Twig_Node::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/acme.com/wp-content/plugins/responsive-menu-pro/vendor/twig/twig/lib/Twig/Node.php on line 214
Viewing 4 replies - 1 through 4 (of 4 total)
  • sumitsanadhya

    (@sumitsanadhya)

    Dear derekg1023,

    I hope this message finds you well.

    Thank you for reaching out to us. I have noted your inquiry and will discuss it with our technical team. I will keep you updated with any further information or updates as soon as possible.

    If you have any additional questions or concerns in the meantime, please feel free to let me know. We appreciate your patience.

    Best regards,
    Sumit

    sumitsanadhya

    (@sumitsanadhya)

    Dear @derekg1023 ,

    I trust this message finds you well.

    To assist you more effectively, could you please share the version of the Responsive Menu plugin you are currently using? If you are using an older version, I recommend updating to the latest version as it may include bug fixes and improvements.

    Looking forward to your reply.

    Best regards,
    Sumit

    Thread Starter derekg1023

    (@derekg1023)

    Hi Sumit,

    I am on version 4.3.1.

    Thank you!

    sumitsanadhya

    (@sumitsanadhya)

    Dear @derekg1023,

    Can you please switch to version 4 code. It might be possible that you are using the version 3 code.

    Please take a website backup first and perform the migration.

    Here is the screenshot link for your reference.

    https://snipboard.io/oPMZjS.jpg

    Let me know if you need more help.

    Regards,
    Sumit

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Many PHP Deprecated Errors in debug.log’ is closed to new replies.