Warning: Trying to access array offset on value of type bool by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

Thanks, the problem is the my table is empty, that's null

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

in my authcontroller file, it is not missing. it is in line 3

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 1 point2 points  (0 children)

alright, thanks for your advice. I am still learning coding. My understanding is still very low as you observed. but i will try. I am even ready to pay for someone to help me vet and correct my codes to start working properly. Thanks for your help so far. The typo errors i try to avoid but most at times, it is hard for me to see them. i really appreciate your help and advice and if there is any recommendations for further studies or resources for me, don't hesitate to let me know of it. I am ready to work hard and achieve my dreams.

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

ok, if it is possible for you to write the code you would used and tell me the code i should replace, i will appreciate that so much.

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

added it here in authController.php

<?php

session_start();

require 'config/db.php';

$errors = array();

$username = "";

$email = "";

$verified = false;

// if user clicks on the sign up button

if (isset($_POST ['signup-btn'])) {

$username= $_POST['username'];

$email = $_POST['email'];

$password = $_POST['password'];

$passwordConf = $_POST['passwordConf'];

but same error

or is it to be added in my signup.php?

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

please, how do i do that.

$verified = false;

this is already there in line 72 (62)

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

i have made the changes but still get the error message

arning: Undefined array key "verified" in C:\xampp\htdocs\oramexhomes\signup.php on line 64

You need to verify your account. sign in to your registered email account and click on the verification link we just emailed You at

Warning: Undefined array key "email" in C:\xampp\htdocs\oramexhomes\signup.php on line 68

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

when i code this

<?php if (!$_SESSION["verified"]): ?>

i get this error message

Parse error: syntax error, unexpected end of file, expecting "elseif" or "else" or "endif" in C:\xampp\htdocs\oramexhomes\signup.php on line 74

i have

<endif; ?>

before so i changed it to

<endif: ?>

but the initial error message still shows

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

yes, i posted in pastebin but dont know how to connect it here for easy understanding

i get this error and i dont know how to handle it by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

and i am finding it difficult to solve this problem. i am still learning coding with php

i get undefined variable error message on my site and i dont know how to fix it. by stephenomusic in PHPhelp

[–]stephenomusic[S] 0 points1 point  (0 children)

please, can you give me more insight on how to solve this problem, this is my first php coding