1 draghan May 26, 2015 14:38
3 draghan May 27, 2015 12:36
Thank you very much for your quick reply. :)
If it is, as you say - that you are already working on it, I'm not worried about it and quietly wait for the update. :)
Best regards, have a nice day. :)
4 rv06 Jun 14, 2015 23:23
Just upgraded to 6.4.4-beta, I still have "Deprecated: Non-static method Module::check_perm() should not be called statically, assuming $this from incompatible context" errors.
I'm going to switch error display off until next release.
5 mgsolipa Jun 15, 2015 09:02
@rv06 does the notice include a file name and line number? The original notice in this post was fixed in version 6.4.4, so I think you're reporting a new one.
Thanks.
6 nanahuatl Jun 22, 2015 12:55
Niltze, all!
PHP Version => 5.6.10
Trying out 6.4.4-beta and I am getting multiple repeat errors of output below:
Displayed on the blog pages:
Deprecated: Non-static method Module::check_perm() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/users/model/_user.class.php on line 2732
Deprecated: Non-static method Module::check_perm() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/users/model/_group.class.php on line 364
Deprecated: Non-static method FileRoot::gen_ID() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/files/model/_filerootcache.class.php on line 136
Logged to a file for that purpose:
[22-Jun-2015 03:30:32 America/Los_Angeles] PHP Deprecated: Non-static method Module::check_perm() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/users/model/_user.class.php on line 2732
[22-Jun-2015 03:30:32 America/Los_Angeles] PHP Deprecated: Non-static method Module::check_perm() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/users/model/_group.class.php on line 364
[22-Jun-2015 04:04:03 America/Los_Angeles] PHP Deprecated: Non-static method FileRoot::gen_ID() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/files/model/_filerootcache.class.php on line 136
Best Regards.
7 fplanque Jun 22, 2015 16:30
Hi,
This error appears only on PHP 5.6.
Here's a patch we are currently testing:
https://github.com/b2evolution/b2evolution/commit/95bfb5183181681f2bd4a2d2543e5b8005e308d9?diff=split
It will be in next release.
8 fplanque Jun 22, 2015 17:13
In addition to the previous, you also need:
9 nanahuatl Jun 23, 2015 10:49
Appreciated, @fplanque!
As I was perusing the skins -- and found out "glossyblue" is not included -- I saw a couple more error directives:
[23-Jun-2015 01:07:39 America/Los_Angeles] PHP Deprecated: Non-static method Skin::disp_skinshot() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/skins/views/_coll_skin.view.php on line 99
[23-Jun-2015 01:08:06 America/Los_Angeles] PHP Deprecated: Non-static method Skin::disp_skinshot() should not be called statically, assuming $this from incompatible context in /b2evolution/inc/skins/views/_skin_list_available.view.php on line 146
Best Regards.
@draghan You can try switching error display to off. The dev team is already working hard to address all those warnings, notices, etc, so there is no need for you to try to fix them separately, just keep your site updated to get the latest fixes.
Regards!