• Почему долго грузит страницы сайта?

    @zkk777 Автор вопроса
    Михаил Ливач, можете посоветовать?
    Написано
  • Почему долго грузит страницы сайта?

    @zkk777 Автор вопроса
    Дмитрий,
    [Sun Jul 23 00:01:01.146111 2023] [proxy_fcgi:error] [pid 16642:tid 139638457927424] [client 185.185.70.249:0] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of phpQueryObject::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3007PHP message: PHP Deprecated:  Return type of phpQueryObject::next($cssSelector = null) should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3027PHP message: PHP Deprecated:  Return type of phpQueryObject::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3013PHP message: PHP Deprecated:  Return type of phpQueryObject::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3044PHP message: PHP Deprecated:  Return type of phpQueryObject::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 2992PHP message: PHP Deprecated:  Return type of phpQueryObject::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 1678PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3052PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3058PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3064PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3071PHP message: PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php on line 56'
    [Sun Jul 23 00:01:01.146678 2023] [proxy_fcgi:error] [pid 16642:tid 139638457927424] [client 185.185.70.249:0] AH01071: Got error 'PHP message: PHP Deprecated:  strtoupper(): Passing null'
    [Sun Jul 23 00:01:01.227070 2023] [proxy_fcgi:error] [pid 16642:tid 139638370985728] [client 185.185.70.249:0] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of phpQueryObject::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3007PHP message: PHP Deprecated:  Return type of phpQueryObject::next($cssSelector = null) should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3027PHP message: PHP Deprecated:  Return type of phpQueryObject::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3013PHP message: PHP Deprecated:  Return type of phpQueryObject::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3044PHP message: PHP Deprecated:  Return type of phpQueryObject::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 2992PHP message: PHP Deprecated:  Return type of phpQueryObject::count() should either be compatible with Countable::count(): int, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 1678PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3052PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3058PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3064PHP message: PHP Deprecated:  Return type of phpQueryObject::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3071PHP message: PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php on line 56'
    [Sun Jul 23 00:01:01.227299 2023] [proxy_fcgi:error] [pid 16642:tid 139638370985728] [client 185.185.70.249:0] AH01071: Got error 'PHP message: PHP Deprecated:  strtoupper(): Passing null'
    [Sun Jul 23 00:01:01.229022 2023] [proxy_fcgi:error] [pid 16642:tid 139638466320128] [client 185.185.70.249:0] AH01071: Got error 'PHP message: PHP Deprecated:  Return type of phpQueryObject::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3007PHP message: PHP Deprecated:  Return type of phpQueryObject::next($cssSelector = null) should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuery/phpQueryObject.php on line 3027PHP message: PHP Deprecated:  Return type of phpQueryObject::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/web/nowgoal.xxx.ru/public_html/vendor/electrolinux/phpquery/phpQuery/phpQuer


    https://pastebin.com/DPpm5J4d
    Написано
  • Почему долго грузит страницы сайта?

    @zkk777 Автор вопроса
    Дмитрий, со сторонним ресурсом проблем нет, если на вебхостинге запусаю скрипт он грузится почти моментально, я даже часть запросов перевел на свой сервер где обновляю каждую минуту данные со стороннего сервиса в json файл и уже со своего сервера беру данные, все равно в тайм аут уходит.
    Написано
  • Как правильно реализовать функцию фильтрации событий по динамичным критериям?

    @zkk777 Автор вопроса
    Для понимаю о чем идет речь:
    События - футбольные матчи,
    Критерии нужны по статистическим данным ( атаки, удары и т.д).
  • Как сбросить идентифицирующие данные на iPhone?

    @zkk777 Автор вопроса
    А вы знаете к каким данным имеет доступ браузер для передачи сайтам? Какие данные нужно изменить?
  • Как обновлять файл json на php?

    @zkk777 Автор вопроса
    нет, на сервере, да и данных там нет секретных, просто цель чтобы сервак не нагружать постоянным парсингом, ничего придумать не смог стал сохранять в json файл и его обновлять каждые 15 сек.
  • Как обновлять файл json на php?

    @zkk777 Автор вопроса
    тот же самый
  • Как обновлять файл json на php?

    @zkk777 Автор вопроса
    А если эти данные это лишь ссылки на множество других json файлов с данными по крупнее, т.е я хочу из первого Json вытащить ссылки с наименованиями при открытии их будет рендериться страница на моем сайте с данными соответствующими для этого id и наименования. Тут лучше парсить на лету?