Support

Admin Tools for WordPress

#34514 Critical error caused when using 404 for Admin url

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Saturday, 13 March 2021 20:17 CST

simondavies315

A critical error is caused when using 404 for an incorrect Admin url. See the attached screenshots.

This error is caused when browsing to https://www.engetsu-consulting.com/wp-admin

simondavies315

The Admin URL option to redirect to the home works well.

Maybe it would be easier to just remove the Admin URL option to use a 404.

tampe125
Akeeba Staff

Hello,

if you look at the error message, you can see that the error is triggered by another plugin, not Admin Tools itself. You should get in touch with them and ask them to take a look at the error.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

simondavies315

The issue only occurs when selecting the 404 option for the Admin URL.

It does not occur when selecting the redirect to the home page.

The error has to be caused by Admin tools.ย 

tampe125
Akeeba Staff

Please take a look at the error reported in the image 39CD1B36-EB70-4383-AC78-4B19D54169E3.jpeg .

As you can see it clearly refers YOAST SEO plugin. We're using core wordpress features to redirect the visitor, nothing fancy.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.