i get the following error when i try to access a user profil with a normal user

Fatal error: Call to undefined function _watcher_db_get_user_settings() in C:\xampp\htdocs\drupal\sites\all\modules\watcher\watcher.module on line 2098

Comments

solipsist’s picture

Are you using a user with what permissions accessing the profile of another user with that permissions?

If you can provide a step-by-step description for recreating the issue, it would aid me greatly. I know the binder isn't working as it should in alpha2 due to changes between 5 and 6. I'm working on getting it to work in the next alpha release.

solipsist’s picture

Status: Active » Postponed (maintainer needs more info)
solipsist’s picture

Status: Postponed (maintainer needs more info) » Active

I've reproduced the problem and fixed it. I'll make an alpha3 release later today. Please test it and let me know if it solves the problem.

solipsist’s picture

Alpha3 is available very soon. Try it out and let me know if it fixes the problem.

krobi’s picture

Status: Active » Fixed

for me the bug seemed to be fixed with the new version

solipsist’s picture

Great! Considering this fixed.

ClearXS’s picture

Version: 6.x-1.0-alpha2 » 6.x-1.0-alpha3
Status: Fixed » Active

"Fatal error: Call to undefined function _watcher_db_user_settings_update_defaults() in .../watcher/watcher.module on line 2147"

Just upgraded to the new 1.0-alpha3 version. Just had "stocks" module uninstalled after uncheking after conflicts. Same for apachesolr, as my webhost server doesnt seem to support that'. And just cron.php was running normal again, same for update.php what ofcourse processedthe new alpha3, as I could see show up during update.

I had this error on different places, now when I want to delete a user test account. So I'll uninstall the watcher for now.

solipsist’s picture

Fixed. Thanks for your bug report, I'll make a new alpha release later. If you can test it too, I'd be grateful.

solipsist’s picture

Alpha4 is on its way. I've tried to do what you reported doing without any encountering any problems. Please download this latest release and confirm, thanks.

solipsist’s picture

Version: 6.x-1.0-alpha3 » 6.x-1.0-alpha4
Status: Active » Postponed (maintainer needs more info)
ClearXS’s picture

Priority: Normal » Minor

Have watcher installed again and checked (no nodesattached like the readme tells me). No stocks and no apachesolr module. No error till now. Who knows, the new release, or some permissions that had to be rebuild, or wahtever circumstance then?

But I dont have time to check for what could have caused the error (leaving in a few hours & without internet some time) mentioned above and bring that old situation back; probably the programmer could make bit of that up by looking to the mentioned line 214?

I just had installed it, because I like everything that speeds up, but will take some time before I get into using this module.

Best!

solipsist’s picture

Line 2147 isn't code, it's in fact commented out in alpha4. Your browser cache is either old or you're using the old version of the module.

solipsist’s picture

Status: Postponed (maintainer needs more info) » Fixed
solipsist’s picture

Status: Fixed » Closed (fixed)