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 a problem with the memory of the host machine but I’m not sure if anyone has any insight as to why this worked I’d like to hear it. But for now this problem is solved.