Activate blog hook

There are two possible causes I can think of:

  1. The ‘wpmu_activate_blog‘ hook supplies 5 arguments ($blog_id, $user_id, $password, $signup->title, $meta), but you’re only receiving 2 parameters ($blog_id, $blogmeta)

  2. The ‘wpmu_activate_blog‘ hook is only triggered when a user creates a blog and not when the super adimin creates one.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)