Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey:

    It means that you have double colons {::} in your code. It’s actually on 3 lines of the form.php file. – 145/235/264

    You have to change line 145 from this:

    if(class_exists($class)){
                    return $class::getfield($input[$field[0]]);
                }

    to this:

    if(class_exists($class)){
                    return $class->getfield($input[$field[0]]);
                }

    And change the :: to -> on the other two lines as well

    I personally still wind up having another issue with line 145 (above)…

    Once I do this first fix, I receive an error on the same file, same line:

    Fatal error: Call to a member function getfield() on a non-object in /home/anytestm/public_html/wp-content/plugins/dropfiles-free/libraries/form.php on line 145

    I can’t seem to figure that one out. When I remove that line of code, the ‘Config’ page shows in the dashboard, but nothing is operable…I’d love some help on that….

    Plugin Author WPCode United

    (@wpcode-united)

    Hi,

    We use a coding way which is only available under php5.3.
    We will make an update of the plugin to fix this.

    For the moment you can try to change the line 145 by

    $c = new $class;
    return $c->getfield($input[$field[0]]);

    Regards.

    Plugin Author WPCode United

    (@wpcode-united)

    Hi,

    We’ve made an update of the plugin.
    It solve this problem for php 5.2.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Config area error’ is closed to new replies.