Page 1 of 1

Nonstatic methos error

PostPosted: 20. May 2017 00:53
by biblioteka
Hi All,

Windows 10
XAMPP 3.2.2
openbiblio 0.7.2.

WIndows 10

I re-installed XAMPP 3.2.2, and copied over backup files I had saved.

All is there, my old catalog, except that now I have the following error messages over each book title in the reports section:

Deprecated: Non-static method TableFuncs::biblio_link() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\openbiblio\classes\Table.php on line 101

Deprecated: Non-static method TableFuncs::_link_common() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\openbiblio\classes\Table.php on line 151

in the |tables file:

lines 100 and 101 :
if (isset($col['func']) and in_array($col['func'], get_class_methods('TableFuncs'))) {
echo TableFuncs::$col['func']($col, $row, $this->_params);

lines 150 and 151
}
return TableFuncs::_link_common($col, $row, $params, $url, 'bibid');

any help is very appreciated

Re: Re installing xampp. What to keep?

PostPosted: 20. May 2017 02:23
by JJ_Tagy
There is no XAMPP version 3.2.2.

Either turn off Deprecated messages in the PHP error reporting setting or check the PHP requirements for OpenBiblio.

Re: Nonstatic methos error

PostPosted: 20. May 2017 02:48
by Altrea
seems like openbiblio 0.7.2 is not PHP7 compatible.