You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
When I access my Pagekit site as anonymous user, I get an Whoops, looks like something went wrong. error in an unstyled page. After I enable the debug mode, I see the following backtrace.
I changed the PHP version used from the site to PHP 7.2.21. Now the homepage and the login widget are visible. It seems the issue is caused from the PHP version.
I will check if there are PHP extensions not enabled when I use PHP 7.3, but I think the problem is incompatibility with PHP 7.3.
These are the extensions listed by PageKit for PHP 7.2. The difference is mostly extensions that cPanel doesn't show for PHP 7.3, which I cannot enable.
app/system/modules/user/widgets/login.php has line return $app['view']('system/user/widget-login.php', compact('widget', 'options', 'user', 'last_username', 'redirect'));. However, options is undefined and thus causes the error. Changing the line to return $app['view']('system/user/widget-login.php', compact('widget', 'user', 'last_username', 'redirect')); will solve the issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
When I access my Pagekit site as anonymous user, I get an Whoops, looks like something went wrong. error in an unstyled page. After I enable the debug mode, I see the following backtrace.
Visiting the site as administrator doesn't cause any issue; the same is true when I disable the login widget.
Technical Details
The text was updated successfully, but these errors were encountered: