If you have no idea what you're doing, just experiment.. Apparently you cannot start a new row with the custom bbcodes so you need something ahead of them. You could try moving the block of code bbb codes ahead of the custom ones (I'm assuming you have the code bb codes turned off). Change it to look like this:
Code:
$toolbar[] = array('Quote');
$toolbar[] = '/';
$toolbar[] = array('Code', 'Html', 'Php');
//$toolbar[] = array('Table', 'TableProperties', 'DeleteTable', '-', 'InsertRowBefore', 'InsertRowAfter', 'DeleteRow', '-', 'InsertColumnBefore', 'InsertColumnAfter', 'DeleteColumn', '-', 'Subscript', 'Superscript', 'HorizontalRule');
$this->config['toolbar'] = $toolbar;
$this->addCustomToolbarButtons();
I moved the slash (which apparently starts a new row) ahead of the code bb codes and commented out the table bb codes. If you get the error again you can switch it back in a few seconds.