Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Login to Admin account – PHP Fatal error – PHP 7.2 #133

Closed
niemalsnever opened this Issue Feb 28, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@niemalsnever
Copy link

commented Feb 28, 2019

Hello,
we're testing WebCalender 1.2.9 on PHP 7.2-fpm, in order to get rid of PHP 5.x on our web servers. So we recently cloned our old 1.2.7 database, and setup a new instance of WebCalendar 1.2.9 on our test server running:

  • Ubuntu 18.04.2 LTS
  • Apache/2.4.29
  • PHP 7.2.15-0ubuntu0.18.04.1 (fpm-fcgi)

We're running into a major issue when trying to login, using the builtin authentication scheme:

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhost.example.com/includes/menu/index.php on line 131

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhost.example.com/includes/menu/index.php:240 Stack trace: #0 /var/www/vhost.example.com/includes/init.php(154): include_once() #1 /var/www/vhost.example.com/month.php(95): print_header(Array, '<script src="in...', NULL, false, false, false, false) #2 {main} thrown in /var/www/vhost.example.com/includes/menu/index.php on line 240

If you have further questions, don't hesitate to contact me.

Best Regards
niemalsnever

@craigk5n

This comment has been minimized.

Copy link
Owner

commented Feb 28, 2019

Hopefully fixed with commit bf4eaa4

@craigk5n craigk5n closed this Feb 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.