PHP Warning: First parameter must either be an object or the name of an existing class

PHP Warning: First parameter must either be an object or the name of an existing class in F:\webserver\htdocs\faq4\src\DbTableBase.php on line 364, referer: http://127.0.0.1/faq4/error

https://www.hkvforums.com/viewtopic.php?f=18&t=49192

From the source code, line 364 of DbTableBase.php is:

} elseif (property_exists($this, $name)) {

If $this is null, you will get that error (see https://bugs.php.net/bug.php?id=79462), but $this will not be null because it is the instance of the class.There might be some problem with your PHP version, if you can upgrade your PHP version, you better upgrade and try again,

I have found the Solution.
I use: .$this->Sub-Typ->CurrentValue.
Sup-Typ is Name from DB Field, PHP-Maker change it to Sub_Typ.I have change the Name to SubTyp, and now it´s work.