/    Sign up×
Community /Pin to ProfileBookmark

Changing PHP to 7.2

Good morning. There was PHP version 5.6 – moved to 7.2 and ran into the problem that the site on Kohana stopped working.
Gives an error message:
Declaration of Auth_Xenforo :: logged_in () should be compatible with Kohana_Auth :: logged_in ($ role = NULL)

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@shahroznawazAug 02.2018 — Looks like you need to check if the dependencies are also compatible with PHP 7.2 otherwise update them via Composer and then rechecks if it works well or not. Also, ask xenforo support for the issue.
Copy linkTweet thisAlerts:
@rootAug 02.2018 — Upgrades address security issues and enhancements to core features...

Simple really, you either upgrade or tempt fate and get your butt chewed and have to recover the site.
×

Success!

Help @22coders spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...