• Hi

    I’ve had a major issue with my client site where it is still viewing live properly, but we cannot login to the backend at all.

    Majorly stressed trying to get this site back live as we need access to the backend quickly.

    ERROR SAYS:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BeRocket_AAPF_Widget has a deprecated constructor in /home/domain.com.au/wp-content/plugins/woocommerce-ajax-filters/includes/widget.php on line 20

    Looks like this plugin causing the issue …

    Deprecated: The called constructor method for WP_Widget in BeRocket_AAPF_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/domain.com.au/wp-includes/functions.php on line 4806

    Deprecated: Non-static method BeRocket_AAPF::create_metadata_table() should not be called statically in /home/domain.com.au/wp-includes/class-wp-hook.php on line 287
    Sorry, you are not allowed to access this page.

    This is causing the WHOLE site to be down and no-one can login to the backend at all.
    How can I fix this urgently please ?

    Every time we login as domain.com.au/wp-admin it goes straight back to HOME page of website. Have been working with the hosting people also and they are baffled. I have re-uploaded WordPress entirely and all contents but nothing works.

    If you enter a login incorrectly at all, it then says “You are not authorised to view this” and locks you out to try again .. it is all so very strange. I then have to clear browser cache and then try logging in again. I know the ADMIN credentials are 100% correct but something is stopping me to logging into the backend.

    I have put the database on another server and tested still the same.

    If I create a NEW database empty and use the existing wordpress files it works but you cannot see the whole website (as all info is on database), you only see like it is new website new from WordPress the plain stuff.

    When debug is on I get this message:

    This is the culprit but no idea what it is related to.
    It seems to be causing me as ADMIN to login at all.

    Has anyone come across this and what is causing this and how to fix it ?

    I don’t have a recent backup of the database, waiting on hosting to provide one.

    wp-includes is part of original wordpress files and I have uploaded NEW WordPress files completely …

    So is it a plugin that is NOT liking something ?
    But I have NO plugins activated as it is new WordPress install just linking to the original database.

    What is BeRocket ?

    I have no cache plugins at all and NO auto updates on.

    Are you able to help with this issue please as soon as possible ?

    Regards

    kristin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi kristin,

    Start with simple solution. Remove the plugin. Open FTP client and login to the site through FTP. Open wp-content/plugins and remove our plugin.

    When removed plugin cannot influence the site.

    How to turn off deprecated message:
    https://stackoverflow.com/questions/2803772/turn-off-deprecated-errors-in-php-5-3

    What version of the plugin did you have?

    Regards,
    Dima

    Thread Starter kristinubute

    (@kristinubute)

    Hi

    Thanks for your quick reply.

    Have already gone into FTP and removed plugin.

    Still cannot login to admin panel.
    It keeps saying “The password you entered is incorrect or username” but it is 100% correct and I have reset the password and still the same.

    It doesn’t allow anyone to login at all ..
    It doesn’t go to home page now, sits on login, but no-one can login.

    Same issue

    Regards
    Kristin

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi Kristin,

    When our plugin is removed/deactivated it cannot influence your site in any way.

    Deprecated notices could be not the reason of your login issue. Btw are they gone now after plugin removal? If no – there could be cache plugin issue. Do you have any installed?

    I’d recommend you to remove other plugin 1 by 1 to find what is the reason of the issue with login. Ofc it is better to do it on the staging/test server.

    Regards,
    Dima

    Thread Starter kristinubute

    (@kristinubute)

    It still says this

    Seems to be affecting my wp-includes directory still

    [02-Sep-2020 13:47:25 UTC] PHP Deprecated: The called constructor method for WP_Widget in BeRocket_AAPF_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/domain.com.au/wp-includes/functions.php on line 4806

    It just still keeps repeating this.

    Plugin totally deleted.

    Still cannot login to the backend of the website with any current Admin details at all.

    Is this a known issue for this plugin ?

    Thanks
    Kristin

    Thread Starter kristinubute

    (@kristinubute)

    02-Sep-2020 13:43:43 UTC] PHP Deprecated: Non-static method BeRocket_AAPF::create_metadata_table() should not be called statically in /home/domain.com.au/wp-includes/class-wp-hook.php on line 287

    Thanks
    Kristin

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    13:47:25 UTC doesn’t look like a fresh error. This was at least 35 minutes ago.
    Are you checking PHP/APACHE logs? Old message will not disappear.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site down .. error’ is closed to new replies.