I was trying to troubleshoot an issue with the website and while looking for the issues I noticed in the debug log these error messages (below)
I am on version 2.2 and I see it switched to legacy, so I created a new feed not on legacy and it’s still showing the same message. Is there something else I need to do to fix this?
PHP Deprecated: Creation of dynamic property SmashBalloon\YouTubeFeed\Admin\SBY_Admin::$position is deprecated in /nas/content/live/xxx/wp-content/plugins/feeds-for-youtube/inc/Admin/SBY_Admin_Abstract.php on line 46
PHP Deprecated: Creation of dynamic property SmashBalloon\YouTubeFeed\Admin\SBY_Admin::$settings is deprecated in /nas/content/live/xxx/wp-content/plugins/feeds-for-youtube/inc/Admin/SBY_Admin_Abstract.php on line 55
PHP Deprecated: Creation of dynamic property SmashBalloon\YouTubeFeed\Services\Admin\Settings\SettingsPage::$menu_position_free_version is deprecated in /nas/content/live/fxxx/wp-content/plugins/feeds-for-youtube/inc/Services/Admin/Settings/SettingsPage.php on line 32
PHP Deprecated: Creation of dynamic property SmashBalloon\YouTubeFeed\Services\Admin\SourcesService::$data_factory is deprecated in /nas/content/live/xxx/wp-content/plugins/feeds-for-youtube/inc/Services/Admin/SourcesService.php on line 30
Thank you
Susan
]]>It would be a shame to lose such a great plugin with over 90k installations.
Thanks
]]>I am using WP 6.4.2 and PHP 8.1 and have these warnings in Query Monitor:
Deprecated strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated wp-includes/functions.php:7241 Plugin: wpglobus-translate-options
Deprecated str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated wp-includes/functions.php:2187 Plugin: wpglobus-translate-options
Can you please check?
]]>Message on file “apache.error.log”:
PHP message: PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in …/plugins/google-sitemap-generator/class-googlesitemapgeneratorstandardbuilder.php on line 36′
]]>PHP Deprecated: Required parameter $atts follows optional parameter $output in /*****/wp-content/plugins/sliderpro/includes/class-hideable-gallery.php on line 49
Just wanted to make you aware.
]]>Deprecated: Return type of Aventura\Wprss\Core\DataObject::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php on line 783
Deprecated: Return type of Aventura\Wprss\Core\DataObject::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php on line 808
Deprecated: Return type of Aventura\Wprss\Core\DataObject::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php on line 770
Deprecated: Return type of Aventura\Wprss\Core\DataObject::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php on line 795
Warning: Cannot modify header information - headers already sent by (output started at /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php:10) in /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1539
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 44
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 24
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 60
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 76
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 44
Deprecated: Return type of RebelCode\Wpra\Core\Entities\Collections\WpEntityCollection::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php on line 97
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 60
Deprecated: Return type of RebelCode\Wpra\Core\Data\AbstractDataSet::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 /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/src/Data/AbstractDataSet.php on line 76
Deprecated: Return type of Twig\Node\Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/vendor/twig/twig/src/Node/Node.php on line 213
Deprecated: Return type of Twig\Node\Node::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/vendor/twig/twig/src/Node/Node.php on line 221
Warning: Cannot modify header information - headers already sent by (output started at /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/wp-rss-aggregator/includes/Aventura/Wprss/Core/DataObject.php:10) in /home/dh_s5ywqy/dev.neo420.com/wp-content/plugins/docket-cache/includes/src/Plugin.php on line 1186
I think it’s going to allow me to create the child theme but I’d like to know what to do about this. thanks
]]>Deprecated Creation of dynamic property DrawAttention::$import_export is deprecated
wp-content/plugins/draw-attention/public/class-drawattention.php:124
1 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$plugin_locale is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:54
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$plugin_options_slug is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:55
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$plugin_dirname is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:56
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$plugin_directory is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:57
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$selected_post_types is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:58
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$selected_file_types is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:59
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$selected_page_reload is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:60
2 Plugin: draw-attention
Deprecated Creation of dynamic property WP_Drag_Drop_Featured_Image_Map::$wordpress_version is deprecated
wp-content/plugins/draw-attention/public/includes/lib/drag-drop-featured-image/index.php:63
2 Plugin: draw-attention
]]>Any ideas if you can fix them in next update?
]]>FILE: src/GridGallery/Optimization/Model/Encrypt.php
FOUND 13 ERRORS AND 0 WARNINGS AFFECTING 7 LINES14 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
14 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
15 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
15 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
15 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
16 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
16 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
29 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
29 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
35 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
35 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
45 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
48 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
The full error:
[29-Jun-2022 13:24:36 UTC] PHP Fatal error: Cannot redeclare wp_add_iframed_editor_assets_html() (previously declared in /var/www/html/wp-includes/deprecated.php:4312) in /var/www/html/wp-includes/script-loader.php on line 2850
When looking into these 2 files, it looks like they have the a function with the same name and WordPress does not know which one to use, causing this fatal error.
In deprecated.php
, lines 4311-4313:
function wp_add_iframed_editor_assets_html() {
_deprecated_function( __FUNCTION__, '6.0.0' );
}
Then in script-loader.php
, line 2850:
function wp_add_iframed_editor_assets_html() {
Does anyone know how to fix this?
Thanks,