Support » Plugin: Accordion FAQ » Notice en deprecated messages with Debug on

  • Resolved Robbertdk

    (@robbertdk)


    Hi,

    Thanks for this plugin!

    I’ve noticed some notice en deprecated messages related to this plugin when I had WP_DEBUG on. Plugin itself works by the way.

    
    Deprecated: Function create_function() is deprecated in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion.php on line 60
    
    Notice: The called constructor method for WP_Widget in dc_jqaccordion_widget is deprecated since version 4.3.0! Use __construct() instead in <<site-path>>/wp-includes/functions.php on line 4503
    
    Notice: The called constructor method for WP_Widget in dc_jqaccordion_widget is deprecated since version 4.3.0! Use __construct() instead in <<site-path>>/wp-includes/functions.php on line 4503
    
    Deprecated: Non-static method dc_jqaccordion::header() should not be called statically in <<site-path>>/wp-includes/class-wp-hook.php on line 286
    
    Deprecated: Non-static method dc_jqaccordion::get_plugin_directory() should not be called statically in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion.php on line 36
    
    Deprecated: Non-static method dc_jqaccordion::get_plugin_directory() should not be called statically in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion.php on line 37
    
    Deprecated: Non-static method dc_jqaccordion::get_plugin_directory() should not be called statically in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion.php on line 38
    
    Deprecated: Non-static method dc_jqaccordion::get_plugin_directory() should not be called statically in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion_widget.php on line 248
    

    I run on the latest version of the plugin 2.1.1 and latest version WordPress 5.2.2 on PHP 7.3

    • This topic was modified 6 months ago by Robbertdk.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support preetam27

    (@preetam27)

    Hi @robbertdk ,

    there is no error when we check it on our way..there may be conflictions of scripts with other plugin or its an error of other widget.

    Thanks.

    Hi Preetam27,

    Thanks for your response.

    This is strange, because I still see the error message even when I isolate the plugin.

    If I look for example at the first ‘Deprecated: Function create_function() is deprecated in <<site-path>>/wp-content/plugins/jquery-vertical-accordion-menu/dcwp_jquery_accordion.php on line 60’ and check the latest plugin code on line 60 of that file I see the outdated ‘create_function’ function.

    Are you sure you’re running on php 7.2 or higher and had debug on?

    Plugin Support preetam27

    (@preetam27)

    hi @robbertdk ,

    i still did n’t get any error and above file is not in our plugin..please tell me with which theme you are using our plugin.

    thanks,

    Hi @preetam27

    Thanks for your reply. This is indeed a different plugin and I am on the wrong support forum. 😐 So the error messages have nothing to do with your plugin. I guess I clicked on the wrong plugin when I wanted to make a support topic. Very sorry for the inconvenience and good luck with your plugin!

    All the best,

    Robbert

    Plugin Support preetam27

    (@preetam27)

    HI @robbertdk ,

    glad to know that you got the problem.if you like our plugin please rate us.

    thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.