Search notes:

PLS-00201: identifier 'DBMS_LOCK' must be declared

If the user who is trying to execute dbms_lock.sleep receives the error message PLS-00201: identifier 'DBMS_LOCK' must be declared, this is likely because he wasn't granted EXECUTE on the dbms_lock package.
In this case, the user should try dbms_session.sleep

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1738302825, '3.129.73.64', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/packages/dbms/lock/PLS-00201_identifier-DBMS_LOCK-must-be-declared(34): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78