0

My site keeps loading without displaying the home page or the admin.


var/log/debug.log:

main.DEBUG: cache_invalidate:  {"method":"GET","url":"https://website.com/pct-eveil-tle-cde.html","invalidateInfo":{"identifier":"interception"}} []
main.DEBUG: cache_invalidate:  {"method":"GET","url":"http://website.com/robots.txt","invalidateInfo":{"identifier":"interception"}} []

pub/error_log:

PHP Deprecated:  Return type of phpseclib_mcrypt_filter::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/phpseclib/mcrypt_compat/lib/mcrypt.php on line 1107.

PHP Deprecated:  Return type of phpseclib_mcrypt_filter::onCreate() should either be compatible with php_user_filter::onCreate(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/phpseclib/mcrypt_compat/lib/mcrypt.php on line 1158

1 Answer 1

0

Check php mcrypt module

Verify using below command

php -m

If mcrypt module is listed, disable it from php8.1

8
  • mcrypt module is not listed
    – Achille
    Commented Jun 5, 2023 at 15:00
  • What is your PHP and Magento version ?
    – MP Raj
    Commented Jun 6, 2023 at 4:49
  • Sorry for delay, I use php 7.2 but I have upgrade to 8.1, still same
    – Achille
    Commented Aug 7, 2023 at 8:24
  • Create phpinfo.php in root dir. and write this code <?php phpinfo(); ?> in file. open in brower example.com/phpinfo.php. and check memrory limit and mcrypt.
    – MP Raj
    Commented Aug 7, 2023 at 8:39
  • Fix it, but new problem again. prnt.sc/jI_QxpG3Dkc7
    – Achille
    Commented Aug 7, 2023 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.