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

undefined function Lazer\Classes\mb_check_encoding() #67

Closed
ghost opened this issue Jan 2, 2021 · 2 comments
Closed

undefined function Lazer\Classes\mb_check_encoding() #67

ghost opened this issue Jan 2, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 2, 2021

hey i'm trying to use your library and i got this error any idea how to solve it?

your name : anas
PHP Fatal error:  Uncaught Error: Call to undefined function Lazer\Classes\mb_check_encoding() in /home/laganty/tools/php/bot-lazer-storage/vendor/greg0/lazer-database/src/Classes/Database.php:218
Stack trace:
#0 /home/laganty/tools/php/bot-lazer-storage/vendor/greg0/lazer-database/src/Classes/Database.php(186): Lazer\Classes\Database->setField()
#1 /home/laganty/tools/php/bot-lazer-storage/index.php(23): Lazer\Classes\Database->set()
#2 {main}
  thrown in /home/laganty/tools/php/bot-lazer-storage/vendor/greg0/lazer-database/src/Classes/Database.php on line 218

the code :

$txt = readline("your name : ");
$row = Lazer::table('test');
   $row->set(array(
      'id' => 1,
      'nickname' => $txt
   ));
   $row->save();
@anant-svc
Copy link
Collaborator

@laganty check whether mbstring module is installed for the php version and if not then install it.

@anant-svc
Copy link
Collaborator

@laganty You can request any feature so it will be added with new release.

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

1 participant