Support » Fixing WordPress » register_taxonomy and permalinks, white screen of death

  • I am doing a project using custom post types and was 80% through when I started messing with the permalinks.

    Normally I just have to turn them on and I’m pretty good, some slight tweaks.

    But when I switched permalink structures I got white screened and had no idea what caused it.
    I upped my memory, did some other things, then renamed my plugin folder.
    This fixed the issue.
    I narrowed it down to my plugin, and then do this specific call:

    register_taxonomy('attributes',array (
      0 => 'girls',1 => 'food',2 => 'elements',3 => 'templates',
    ),array( 'hierarchical' => false, 'label' => 'Attributes','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'Attribute') );

    Now admittedly I haven’t done much with changing permalink structure in the past, nor with custom Tax’s. But I can’t seem to find any info on whats causing the crash.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘register_taxonomy and permalinks, white screen of death’ is closed to new replies.