Before you ask please READ THIS

Error message

in PhotoProof Posts: 115
Hi,

On password protected page see this error message

"Warning: Constant A13FRAMEWORK_CUSTOM_PASSWORD_PROTECTED already defined in /home/USERNAME/public_html/wp-content/themes/photoproof/password-template.php on line 18"

Comments

  • AirAir
    edited April 2021 Posts: 10,970
    Hey there:-)

    Did it appear after update 2.4.12 ?

    Please make such change in code, just to be safe in case somehow password template is included two times.

    Please edit a file photoproff\password-template.php ~line 18

    change :
    define('A13FRAMEWORK_CUSTOM_PASSWORD_PROTECTED', true );
    to:
    	if( !defined( 'A13FRAMEWORK_CUSTOM_PASSWORD_PROTECTED' ) ){
    		define('A13FRAMEWORK_CUSTOM_PASSWORD_PROTECTED', true );
    	}
    With kind regards.
    Post edited by Air on
  • Posts: 115
    Same error after update to latest version. I’ve seen this for a while now, but I didn’t get to report it. Ićm think after patch now is ok
  • AirAir
    Posts: 10,970
    OK, thanks for the report. I will add the same fix for the next update.

    With kind regards.
  • Posts: 115
    Thanks.... and if you find userul,update lightgallery 😁
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion