Password Lock giving critical error after upgrade to 3.2.40

Viewing 5 posts - 1 through 5 (of 5 total)
#171482

Robert Knaggs
Participant

Hi we have upgraded the plugin to 3.2.40 and since then are getting a critical error when visitors try to download password locked files. Non password files work without issue. Debug gives this output:
[22-Apr-2022 13:20:08 UTC] PHP Notice: Undefined variable: category in /htdocs/wp-content/themes/website/page.php on line 111
[22-Apr-2022 13:20:08 UTC] PHP Notice: Undefined variable: category in /htdocs/wp-content/themes/website/page.php on line 115

Is there a new variable that needs defining for the lock to work?

Thanks

#171486

Humayon
Spectator

Hi @solsqd

Welcome to the support forum.

We have tested your reported issue in our testing environment and it’s working fine.

However, based on the error log it seems the error is generated from your theme.

We’ll need to take a closer look to see why this might be happening. But, this might take a little longer. Therefore, I’d request you to check whether there are any plugins installed that might be causing this?

Here is what you can do to check:

1. Please try switching to another theme, like Twenty Seventeen, and check whether the issue persists or not. If not, then it is the theme that is causing the error.

2. Deactivate all plugins temporarily except WPDM and see if that solves the problem. Then, activate plugins one by one to see which plugin is causing the problem.

This is a general debugging process that all WordPress support teams perform to find 90% of the problems.

If you are not sure how to go about it, we’ll be glad to help. Please share your website credentials as mentioned below so that we can take a look and help you asap.

# Website Login URL
# Username
# Password

Please let me know how that goes. I will be happy to help with any further assistance you might need.

#171551

Robert Knaggs
Participant
This reply has been marked as private.
#171571

Robert Knaggs
Participant
This reply has been marked as private.
#171614

Humayon
Spectator

Hello @solsqd,

It is hard to determine the issue without looking into your website.

​I request you to please share your website credentials in a private reply so that I can take a closer look and work with you to get this working.

Here are the details I’ll need –

# Website Login URL
# Username
# Password

We are looking forward to hearing from you.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Password Lock giving critical error after upgrade to 3.2.40’ is closed to new replies.