site.ru [Tue Nov 19 17:30:02 2024] [warn] [client xxx.108.213.220] PHP Warning: Error while sending QUERY packet. PID=834460 in site.ru/public_html/core/xpdo/om/xpdoobject.class.php on line 236
site.ru [Tue Nov 19 17:32:25 2024] [error] [client xxx.180.203.159] File does not exist: site.ru/public_html/blog
site.ru [Tue Nov 19 17:45:01 2024] [php7:error] [pid 846273:tid 846273] [client xxx.140.161.153:0] PHP Fatal error: Uncaught Error: Call to a member function get() on null in site.ru/public_html/core/model/modx/modrequest.class.php:185\nStack trace:\n#0 site.ru/public_html/core/model/modx/modrequest.class.php(116): modRequest->getResource('id', '1')\n#1 site.ru/public_html/manager/index.php(59): modRequest->handleRequest()\n#2 {main}\n thrown in site.ru/public_html/core/model/modx/modrequest.class.php on line 185
site.ru [Tue Nov 19 21:00:49 2024] [negotiation:error] [pid 10361:tid 10361] [client xxx.203.190.135:0] AH00690: no acceptable variant: /usr/share/apache24/error/HTTP_GONE.html.var
let myForm = document.querySelector('.my-selector')
myForm.addEventListener( 'submit', function( event ) {
setTimeout( () => {
location = 'http://example.com/';
}, 3000 ); // Wait for 3 seconds to redirect.
}, false );
Спасибо!