Support » Plugin: Woo Shortcodes Kit » Function create_function() is deprecated

  • Resolved rogeriodec

    (@rogeriodec)


    I’m using the Query Monitor plugin and it is showing this warning on:

    wp-content/plugins/woo-shortcodes-kit/woo-shortcodes-kit.php
    wp-content/plugins/woo-shortcodes-kit/woo-shortcodes-kit.php:4105
    wp-content/plugins/woo-shortcodes-kit/wshk-class.php:190

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author disespubli

    (@disespubli)

    Hi Rogerio,

    I have the Query Monitor installed too and i dont get these warnings…

    Can you tell me the warning message? because these codes are from many versions ago working good without any problems and never i get warnings for it.

    What theme are you using?
    Your PHP version?
    Are you using the last version of WordPress and WooCommerce?

    Do you have test it only with WooCommerce enabled?

    If you can send more information will be great!

    Regards!

    Hi, the warning message is the title “Function create_function() is deprecated”.
    Here an image.
    I’m using Shopisle theme.
    PHP 7.3.5
    The latest version of WordPress and WooCommercer.
    WooCommerce is enabled.
    Usually, deprecated functions are because of earlier versions of PHP.

    Plugin Author disespubli

    (@disespubli)

    Do you have Debug mode enabled maybe?

    This kind of warnings normally appear in debug mode only, and is just an advice talking that maybe in future PHP versions this function will be deprecated.

    Regards!

    Yes, debug is enabled, so maybe the case.
    Thanks for your attention!

    Plugin Author disespubli

    (@disespubli)

    I have developed the new version 1.7.8 of Woo Shortcodes Kit solving the deprecated function, do you want test before be uploaded?

    If you want write to me from the contact form in the website and i will send you (will be 1.7.7 updated version)

    Regards!

    Plugin Author disespubli

    (@disespubli)

    UPDATE – Solved in the new version 1.7.8!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Function create_function() is deprecated’ is closed to new replies.