Hey,
The "add" buttons don't appear because the JavaScript fails to load, and
this is because of the same error with the already defined constant. Once
you fix this these errors should all disappear.
As said, please try to simply delete the "define( … )" lines from your
LocalSettings.php you added there before.
Best
Thiemo