• Resolved wp_kc

    (@wp_kc)


    PHP Version: 7.4.28
    WordPress Version: 5.9
    Elementor Version: 3.5.5

    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/elementor/core/utils/collection.php on line 404
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/elementor/core/utils/collection.php on line 413
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetSet($key, $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 /wp-content/plugins/elementor/core/utils/collection.php on line 421
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/elementor/core/utils/collection.php on line 432
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/elementor/core/utils/collection.php on line 446
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Return type of Elementor\Core\Utils\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/elementor/core/utils/collection.php on line 439
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /wp-content/plugins/elementor/core/upgrade/manager.php on line 62
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22
    [18-Feb-2022 17:00:03 UTC] PHP Deprecated:  Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Can you please send us your site URL?

    Also, can you elaborate on what do you see is wrong on the site?

    Thread Starter wp_kc

    (@wp_kc)

    It is not a publicly accessible web site, and it has WP_DEBUG enabled. These messages only show up in the debug log file while accessing /wp-admin area of the web site. Nothing special has to be done, simply log in to the site. The log file grows by about 2MB per day with these types of messages.

    No front end issues are noticeable. I just thought you might be interested, since it looks like these message will turn into errors in the future.

    Hi,
    Thank you for the update.

    The error logs are connected to the latest WP update and other plugins.

    WP is working on debugging it so they won’t show, as our developers as well.

    The next update for WP should be rid of these logs.

    Please let us know in the future if you run into some issues with your website and us, I will close this ticket for now.

    I just started running into this issue today when I attempt to edit my posts using Elementor. Thankfully the site is still up and running fine but I really. need to make edits asap!

    Here is the log output from the GUI. Thanks in advance!

    PHP: 2022-03-02 03:05:05 [notice X 2][/srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]

    This is a more helpful message:

    PHP: 2022-03-02 03:05:05 [notice X 98][/srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-03-02 03:05:16 [notice X 2][/srv/htdocs/wp-content/plugins/elementor/core/experiments/experiments-reporter.php::89] Undefined index: title [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-03-02 03:16:17 [notice X 4][/srv/htdocs/wp-content/plugins/elementor/core/debug/inspector.php::73] strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-03-02 03:16:17 [notice X 31][/srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> rest_error_handler()
    #1: /srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
    #2: /srv/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
    #3: /srv/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
    #4: /srv/htdocs/wp-content/plugins/elementor-pro/modules/query-control/module.php(826): Elementor\Controls_Manager -> register_control()
    ',
    )]

    PHP: 2022-08-09 09:52:39 [notice X 1][/home/kirnzblii4/public_html/wp-content/plugins/elementor/core/upgrade/manager.php::63] version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated [array (
    ‘trace’ => ‘
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ‘,
    )]

    I got this error….how to fix it…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Deprecated calls in Elementor’ is closed to new replies.