• Resolved rootkowski

    (@rootkowski)


    Hi!

    Thanks for your plugin, first of all! Looks very nice and promising πŸ™‚

    Just wanted to let you know about a couple of errors that my debugger threw at me when I activated your plugin. So here come the messages:

    ( ! ) Notice: load_plugin_textdomain was called with an argument that is <strong>deprecated</strong> since version 2.7 with no alternative available. in /home/przemek/Projects/clients/md/Acresfield/dev/wp-includes/functions.php on line 2925
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0010	217960	{main}( )	../plugins.php:0
    2	0.0014	253304	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-admin/admin.php' )	../plugins.php:10
    3	0.0015	262296	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-load.php' )	../admin.php:30
    4	0.0016	268108	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-config.php' )	../wp-load.php:29
    5	0.0021	311496	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-settings.php' )	../wp-config.php:90
    6	0.0984	7619816	include_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-content/plugins/simple-events-calendar/simple-events-calendar.php' )	../wp-settings.php:195
    7	0.0987	7620812	load_plugin_textdomain( )	../simple-events-calendar.php:50
    8	0.0987	7621080	_deprecated_argument( )	../l10n.php:422
    9	0.0988	7621532	trigger_error ( )	../functions.php:2925
    
    ( ! ) Notice: wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>init</code> hooks. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.) in /home/przemek/Projects/clients/md/Acresfield/dev/wp-includes/functions.php on line 2959
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0010	217960	{main}( )	../plugins.php:0
    2	0.0014	253304	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-admin/admin.php' )	../plugins.php:10
    3	0.0015	262296	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-load.php' )	../admin.php:30
    4	0.0016	268108	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-config.php' )	../wp-load.php:29
    5	0.0021	311496	require_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-settings.php' )	../wp-config.php:90
    6	0.0984	7619816	include_once( '/home/przemek/Projects/clients/md/Acresfield/dev/wp-content/plugins/simple-events-calendar/simple-events-calendar.php' )	../wp-settings.php:195
    7	0.0993	7623220	wp_enqueue_script( )	../simple-events-calendar.php:878
    8	0.0993	7623716	_doing_it_wrong( )	../functions.wp-scripts.php:130
    9	0.0994	7624976	trigger_error ( )	../functions.php:2959

    Looks like a lot, but should be fairly simple to fix. Don’t hesitate to ask questions or info, that you’d need to solve the issues!

    Cheers!

    http://wordpress.org/extend/plugins/simple-events-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jerry Rietveld

    (@jgrietveld)

    Hi rootkowski,

    Thanks for your message. I’m currently fixing a few bugs and this is in there as well. The wrong location for the wp_enqueue function and the deprecated localization plugin (load_plugin_textdomain) argument will be fixed with the next update later this week (i hope…).

    Cheers,
    Jerry

    Thread Starter rootkowski

    (@rootkowski)

    Thanks for the info Jerry!

    I know it’s not always easy to find the time to fix bugs, so no stress πŸ™‚

    I also know how useful it is to get people to test your plugins and find possible bugs. Do you host your plugin code on github or somewhere like that? Wondering if you accept code contributions? (I’m not promising anything though πŸ˜‰

    Cheers,
    Przemek

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A couple of errors when activating the plugin’ is closed to new replies.