Nonstatic methos error
Posted: 20. May 2017 00:53
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
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