Title: Problem doing Creating Tables with Plugins Tutorial
Last modified: August 18, 2016

---

# Problem doing Creating Tables with Plugins Tutorial

 *  [densemstuco](https://wordpress.org/support/users/densemstuco/)
 * (@densemstuco)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/problem-doing-creating-tables-with-plugins-tutorial/)
 * 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](http://codex.wordpress.org/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.

 * 0 replies
 * 1 participant
 * Last reply from: [densemstuco](https://wordpress.org/support/users/densemstuco/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/problem-doing-creating-tables-with-plugins-tutorial/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
