Passing a variable to register_taxonomy()

It turns out the issue here is the foreach statement. I changed the loop from foreach ($taxonomies as $taxonomy) { to for ($counter=0; $counter < sizeof($taxonomy); $counter++) { as well as all relivant itirators so…. register_taxonomy( $taxonomy->singular_name, ‘book’, $tagArgs ); became register_taxonomy( $taxonomy[$counter]->name, $book, $args ); and all went well. I suspect this is a … Read more

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