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

Error on Admin Client Login View Mail from @Admin #1140

Open
tturbo4gg opened this issue Oct 13, 2023 · 1 comment
Open

Error on Admin Client Login View Mail from @Admin #1140

tturbo4gg opened this issue Oct 13, 2023 · 1 comment

Comments

@tturbo4gg
Copy link

Describe the bug

(a clear and concise description of what the bug is.)

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'http://mysite.com/admin123/user/browse'
  2. Click on Login.'
  3. Scroll down to 'Messages -> Inbox' http://mysite.com/mail
  4. See error

`C:\xampp\htdocs_protected\framework\Layout\Html\Design.class.php on line 627

Fatal error: Uncaught TypeError: PH7\PH2Gravatar\Image::get(): Argument #1 ($email) must be of type string, bool given, called in C:\xampp\htdocs_protected\framework\Layout\Html\Design.class.php on line 647 and defined in C:\xampp\htdocs_protected\vendor\ph-7\ph2gravatar\src\Image.php:19 Stack trace: #0 C:\xampp\htdocs_protected\framework\Layout\Html\Design.class.php(647): PH7\PH2Gravatar\Image::get(false, Array) #1 C:\xampp\htdocs_protected\framework\Layout\Html\Design.class.php(661): PH7\Framework\Layout\Html\Design->PH7\Framework\Layout\Html{closure}() #2 C:\xampp\htdocs_protected\app\system\core\classes\design\AvatarDesignCore.php(61): PH7\Framework\Layout\Html\Design->getUserAvatar('admin', 'admin', 32) #3 C:\xampp\htdocs_protected\data\cache\pH7tpl_compile\mail_238e310d37ca82cd472e80cbdd56973d\base\main\list.inc.cpl.php(15): PH7\AvatarDesignCore->get('admin', 'Administrator', 'admin', 32) #4 C:\xampp\htdocs_protected\framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl.class.php(353): require('C:\xampp\htdocs...') #5 C:\xampp\htdocs_protected\data\cache\pH7tpl_compile\mail_238e310d37ca82cd472e80cbdd56973d\base\main\msglist.inc.cpl.php(15): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('list.inc.tpl') #6 C:\xampp\htdocs_protected\framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl.class.php(353): require('C:\xampp\htdocs...') #7 C:\xampp\htdocs_protected\data\cache\pH7tpl_compile\mail_238e310d37ca82cd472e80cbdd56973d\base\main\layout.cpl.php(15): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('main\msglist.in...', 'C:\xampp\htdocs...') #8 C:\xampp\htdocs_protected\framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl.class.php(353): require('C:\xampp\htdocs...') #9 C:\xampp\htdocs_protected\data\cache\pH7tpl_compile\public_main\zendate\layout.cpl.phplayout.cpl.php(15): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('layout.tpl', 'C:\xampp\htdocs...') #10 C:\xampp\htdocs_protected\framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl.class.php(353): require('C:\xampp\htdocs...') #11 C:\xampp\htdocs_protected\framework\Mvc\Controller\Controller.class.php(85): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display('layout.tpl', 'C:\xampp\htdocs...') #12 C:\xampp\htdocs_protected\app\system\modules\mail\controllers\MainController.php(146): PH7\Framework\Mvc\Controller\Controller->output() #13 [internal function]: PH7\MainController->inbox() #14 C:\xampp\htdocs_protected\framework\Mvc\Router\FrontController.class.php(656): ReflectionMethod->invokeArgs(Object(PH7\MainController), Array) #15 C:\xampp\htdocs_protected\framework\Mvc\Router\FrontController.class.php(615): PH7\Framework\Mvc\Router\FrontController->runController() #16 C:\xampp\htdocs_protected\app\Bootstrap.php(92): PH7\Framework\Mvc\Router\FrontController->runRouter() #17 C:\xampp\htdocs\index.php(45): PH7\Bootstrap->run() #18 {main} thrown in C:\xampp\htdocs_protected\vendor\ph-7\ph2gravatar\src\Image.php on line 19`

Expected Behavior

(a clear and concise description of what you expected to happen.)

Screenshots / Screencasts
image

(if applicable, add screenshots or screencast the scenario to help explain your issue the best you can.)

@STProgrammer
Copy link

It's just me, or this CMS is full of bugs and doesn't work?

  1. When I login into admin dashboard, it changes password, which causes you can't login again. I fixed this and sent pull requiest, which is not accepted yet.

  2. I can't login is normal user. When I login, I'm just redirected to same login page, and it seems like I'm not logged in yet.

I can't even login to test it. It seems like it's full of bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants