Support » Plugin: Wordpress File Upload » A warning about missing quotes for future PHP

  • Hello,
    After every update of WordPress File Upload I am getting the following warning (in the debugging mode):
    “Warning: Use of undefined constant COOKIEHASH – assumed ‘COOKIEHASH’ (this will throw an Error in a future version of PHP) in ../../../wp-content/plugins/wp-file-upload/wfu_loader.php on line 33.”

    I was fixing this error myself by putting the single quotes around the word COOKIEHASH on line 33. Could you please fix this issue in the future updates. Thank you.

    • This topic was modified 2 years, 6 months ago by lennyvaicek.
    • This topic was modified 2 years, 6 months ago by lennyvaicek.
Viewing 1 replies (of 1 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, it is not so simple. COOKIEHASH is a variable generated by WordPress and required by the plugin to operate properly.

    I would like to reproduce your error. Do you see it every time or just after the update? Do you have any special settings regarding cookies?

    Regards

    Nickolas

Viewing 1 replies (of 1 total)
  • The topic ‘A warning about missing quotes for future PHP’ is closed to new replies.