• Hey all…I’m trying to write a plugin that will create and fill some mysql tables and I’m testing it out by going through the Creating Tables with Plugins tutorial. I have an install.php file that contains everything copy and pasted from the code under “The Whole Function” section, and have a plugin file that only does add_action('activate_plugindir/pluginfile.php', 'jal_install');

    When I activate the plugin, I get the following error

    Warning: call_user_func_array(): First argumented is expected to be a valid callback, ‘jal_install’ was given in /home/litscher/public_html/testblog/wp-includes/plugin.php on line 123

    This is a fresh WP 2.1.2 install with no other plugins activated and the default theme. Any help would be greatly appreciated. Thanks.

The topic ‘Problem doing Creating Tables with Plugins Tutorial’ is closed to new replies.