undefined variable: category

Wendy's Avatar


20 Jun, 2018 10:42 PM

I was uploading a new photo to an existing category today and received the error that there was an undefined variable for category. The photo uploaded fine and was placed in the correct category though. Here is the error log for it:

2018-06-20 16:27:54 - ERROR --> Undefined variable: category
  FILE - /home/wmweb/public_html/miskinfamily_update/gallery/index.php [800]
  PHP - 5.4.45 (Linux)
    #0 __construct called at [/home/wmweb/public_html/miskinfamily_update/gallery/index.php:28]
    #1 control called at [/home/wmweb/public_html/miskinfamily_update/gallery/index.php:64]
    #2 displayUploadFormSubmit called at [/home/wmweb/public_html/miskinfamily_update/gallery/index.php:168]
    #3 fcmsErrorHandler called at [/home/wmweb/public_html/miskinfamily_update/gallery/index.php:800]

  1. Support Staff 1 Posted by Ryan Haudenschi... on 22 Jun, 2018 01:10 PM

    Ryan Haudenschilt's Avatar

    What version was this on? I can't seem to be able to reproduce it.

  2. 2 Posted by Troyce and Wend... on 22 Jun, 2018 06:03 PM

    Troyce and Wendy Miskin's Avatar

    It was version 3.7.0.
    My server is running PHP 5.4 and 10.1.31-MariaDB-cll-lve - MariaDB Server .

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Apr, 2019 12:58 PM
18 Apr, 2019 03:28 PM
18 Apr, 2019 03:15 PM
09 Apr, 2019 01:16 AM
12 Mar, 2019 03:10 PM