codesnippetspro/code-snippets

Query Monitor - PHP Errors

Closed this issue · 2 comments

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Code Snippets.

Type of Bug

I'm Not Sure, Unspecified

Description

I installed Query Monitor on a client site to test for slowness with WooCommerce.
I also located the following PHP errors associated with Code Snippets Pro.

Screenshot 2024-06-29 at 14 46 05

Screenshot 2024-06-29 at 14 38 41

Deprecated Creation of dynamic property FS_Plugin_Plan::$is_hidden is deprecated -wp-includes/functions.php:650unserialize()wp-includes/functions.php:650maybe_unserialize()wp-includes/option.php:247get_option()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/managers/class-fs-option-manager.php:173FS_Option_Manager->load()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/managers/class-fs-option-manager.php:98FS_Option_Manager->__construct()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/managers/class-fs-option-manager.php:134FS_Option_Manager::get_manager()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/class-fs-options.php:90FS_Options->__construct()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/class-fs-options.php:68FS_Options::instance()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/class-freemius.php:3361Freemius::_load_required_static()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/includes/class-freemius.php:2776Freemius::instance()wp-content/plugins/code-snippets-pro/vendor/freemius/wordpress-sdk/start.php:525fs_dynamic_init()wp-content/plugins/code-snippets-pro/php/class-licensing.php:40Code_Snippets\Licensing->__construct()wp-content/plugins/code-snippets-pro/php/class-plugin.php:134Code_Snippets\Plugin->load_plugin()wp-content/plugins/code-snippets-pro/php/load.php:65

Steps to reproduce

I installed Query Monitor to take a look.

Isolating the problem

  • This bug happens with only the Code Snippets plugin active (Free or Pro).
  • This bug happens with a Blank WordPress theme active. For example: (Hello theme).
  • I can reproduce this bug consistently following the steps above.

Comment

Using the newest WP 6.5.5
Enfold theme.
Various plugins.

When looking at the Inspect -> Console in Brave browser I see this:
Dev console Brave browser

I have checked using query monitor and pro v 3.6.8 and do not see any such errors and not able to reproduce, it may be that latest update or FS update has resolved this issue