Closed Stoatwblr closed 5 years ago
after fixing the glpi_bookmarks issues and reinstalling archisw, the following is logged in logs/php-errors
2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:215 countElementsInTable() plugins/archisw/hook.php:91 PluginArchiswProfile::initProfile() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:215 countElementsInTable() plugins/archisw/hook.php:91 PluginArchiswProfile::initProfile() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:72 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:76 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:72 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:76 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install()
These still appear after applying the fix around line 215
I replaced the 2 other calls to "countElementsInTable" in v2.0.15 I hope that this will reduce the logs ! Best regards,
after fixing the glpi_bookmarks issues and reinstalling archisw, the following is logged in logs/php-errors
2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:215 countElementsInTable() plugins/archisw/hook.php:91 PluginArchiswProfile::initProfile() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:215 countElementsInTable() plugins/archisw/hook.php:91 PluginArchiswProfile::initProfile() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:72 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:76 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:72 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install() 2019-01-24 14:52:03 [11@msslyz.mssl.ucl.ac.uk] Backtrace : inc/toolbox.class.php:562 Toolbox::backtrace() inc/dbutils.class.php:323 Toolbox::deprecated() inc/db.function.php:178 DbUtils->countElementsInTable() plugins/archisw/inc/profile.class.php:76 countElementsInTable() plugins/archisw/inc/profile.class.php:61 PluginArchiswProfile::addDefaultProfileInfos() plugins/archisw/hook.php:92 PluginArchiswProfile::createFirstAccess() inc/plugin.class.php:707 plugin_archisw_install() front/plugin.form.php:47 Plugin->install()