• Jonas Lundman

    (@jonas-lundman)


    This is thrown:

    Tested on clean wp install

    Notice: Undefined variable: add_file_link in \www\wp-clean\wp-content\plugins\sp-client-document-manager\shortcode.php on line 1515

    Notice: Trying to get property of non-object in www\wp-clean\wp-content\plugins\sp-client-document-manager\cu.php on line 96

    I need to keep ERROR reporting all ON, so theese lines breaks my backend.

    The second Notice is more complicated to fix, any ideas?

    http://ww.wp.xz.cn/extend/plugins/sp-client-document-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author smartypants

    (@smartypants)

    you can disable notices to remove this error. Notices do not effect the way the script works and should only be used in debugging.

    Thread Starter Jonas Lundman

    (@jonas-lundman)

    Hi, thanks for the reply

    However, as I wrote

    I need to keep ERROR reporting all ON, so theese lines breaks my backend.

    Putting the head in the sand is not a solution for our projects. The code must be clean and up to date. Company and customer policy.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Notice: Undefined variable: and other’ is closed to new replies.