Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Philip,

    Can you give more detail — What mouse clicks and keyboard strokes did you do immediately leading up to the error? What version of WordPress and what version of Capability Manager Enhanced?

    I created a new role without error. The steps I took were to, in the dashboard go to “Users->Role Capabilities…” menu on left, and then in the
    Roles and Capabilities screen that comes up, on the right-hand-side “Create New Role” box, typed a name in the “Name of new role” textbox and clicked the “Create” button. At that time i don’t get an error — i get a “New role created.” message at the top of the Roles and Capabilities screen.
    I am on WordPress 3.5.2 and Capabilty Manager Enhanced v. 1.4.10.

    Regards,

    Morgan

    Thread Starter Philip Isaacs

    (@pisaacs)

    Hey Morgan,

    I am on WordPress 3.5.2 and Capabilty Manager Enhanced v. 1.4.10.

    The steps I took were exactly the same as what you describe except I get the error message I’ve printed above.

    What was I doing exactly before? Nothing unusual.

    I’m guessing by your response you aren’t having this issue, so I’m not sure you’re going to be able to help me. If I know anything about trouble shooting bugs, if others haven’t had the problem then it’s probably something on my system.

    Philip,

    In line 35 of “handler.php” file specified in error message posted in the first post of this thread, indicates that the plugin thinks that we’re wanting it to copy the existing record while not leaving the name field blank…
    Going on that information, I can now able to reliably re-create the error on my system as well. I can now re-create it every time by, in the “Copy Subscriber Role” box on the right-hand-side, typing a name *exactly matching the name of an already-existing role* into the “Name of copied role” textbox and clicking my mouse on the “Copy” button.

    Corresponding to the time when you saw the error message in the log, can you confirm again which button you clicked? (maybe even run through the motions again and tehn check in the log again, to have a fresh case?)(i mean was it definitely the Create button and not the Copy button?) (and not the enter key which might have represented a different button click like the Save button?)

    Regards,

    Morgan

    Thread Starter Philip Isaacs

    (@pisaacs)

    Hey Morgan,

    This is great news! I think.

    So again all I did was type a new role name in the “Create New Role” box and click the create button. Nothing more

    I believe it also gave me an error when I type a name in the “Copy Subscriber Role” but to be honest I’m not sure what this does.

    Philip

    Philip,

    The Line number in the error message seen in the error log, corresponding to the exact timestamp where was observed the blank screen error/symptom, will point us in the right direction of where to look next.
    ...handler.php...Line 20...” might mean the plugin thinks the field was left blank when CREATING a new role name
    ...handler.php...Line 22...” might mean the plugin thinks the field name was a duplicate (already existed) when CREATING a new role name
    ...handler.php...Line 33...” might mean the plugin thinks the field was left blank when COPYING a role name
    ...handler.php...Line 35...” might mean the plugin thinks the field name was a duplicate (already existed) when COPYING a role name

    Regards,

    Morgan

    Plugin Author Kevin Behrens

    (@kevinb)

    The fatal error was due to a misplaced function ak_admin_error() definition, and has been fixed in CME 1.5

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error when I try to create a new role’ is closed to new replies.