PHP PDO Password Update goes to a coded error screen?

['id'] == $rowUser['id']) {
				echo '<select disabled class="form-control" id="status" name="status">
				<option selected value="1">Active</option>
				<option value="0">Inactive</option>
			  </select>';

                          $hidden =  <<<EOT
<input type="hidden" name="status" value="{$rowUser['status']}" />
EOT;
                          echo $hidden;

				echo '<p style="color: #a40000;">The user status cannot be changed</p>';
			} else {

You are mixing up your role_id select with your status select.

You copied a bunch of unnecessary attributes into your hidden element. They won’t hurt but they will confuse things.

And as I mention a few posts ago, I suspect your error message is probably coming from a different block of code that you forgot you changed. Make sure your code is running without syntax errors before trying to add the hidden element.

And if you want to stay away from heredoc then try:

    echo '<input type="hidden" name="status" value="'
 . $rowUser['status'] . '" />';

The . string concatenation operator can resolve the quoting issues. sprintf could also be used.