• Resolved user9876789

    (@user9876789)


    Hello, I’ve upgraded a site to PHP 8.1 and receiving the following PHP deprecated messsages in the error log. Please can this be looked into? I’m using version 1.10.4 of the plugin.

    PHP Deprecated: Return type of No3x\WPML\Pimple\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 /xxx/public/wp-content/plugins/wp-mail-logging/lib/vendor/pimple/pimple/src/Container.php on line 128

    PHP Deprecated: Return type of No3x\WPML\Pimple\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 /xxx/wp-content/plugins/wp-mail-logging/lib/vendor/pimple/pimple/src/Container.php on line 93

    PHP Deprecated: Return type of No3x\WPML\Pimple\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 xxx/wp-content/plugins/wp-mail-logging/lib/vendor/pimple/pimple/src/Container.php on line 74

    PHP Deprecated: Return type of No3x\WPML\Pimple\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 /xxx/wp-content/plugins/wp-mail-logging/lib/vendor/pimple/pimple/src/Container.php on line 138

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @user9876789,

    thank you for reporting this issue.

    We fixed these warnings in the latest version 1.10.5.

    Have a nice day and happy holidays!

    Some more messages with the most recent version:


    Here is my Setup:
    WP 6.1.1
    PHP: 8.2.0
    Theme: GeneratePress
    Plugins: Only your Plugin

    Deprecated: Creation of dynamic property ReduxFramework::$core_instance is deprecated in W:\Webdev\Htdocs\plekvetica\wp-content\plugins\wp-mail-logging\lib\vendor\redux-framework\redux-core\inc\classes\class-redux-args.php on line 210

    Deprecated: Creation of dynamic property ReduxFramework::$core_thread is deprecated in W:\Webdev\Htdocs\plekvetica\wp-content\plugins\wp-mail-logging\lib\vendor\redux-framework\redux-core\inc\classes\class-redux-args.php on line 211

    Deprecated: Creation of dynamic property ReduxFramework::$field_types is deprecated in W:\Webdev\Htdocs\plekvetica\wp-content\plugins\wp-mail-logging\lib\vendor\redux-framework\redux-core\inc\classes\class-redux-options-constructor.php on line 385

    Deprecated: Creation of dynamic property ReduxFramework::$field_head is deprecated in W:\Webdev\Htdocs\plekvetica\wp-content\plugins\wp-mail-logging\lib\vendor\redux-framework\redux-core\inc\classes\class-redux-options-constructor.php on line 59

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP8 Deprecated warnings’ is closed to new replies.