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

PHP Notice: Undefined index: #639

Open
zoomiest2 opened this issue Apr 13, 2024 · 0 comments
Open

PHP Notice: Undefined index: #639

zoomiest2 opened this issue Apr 13, 2024 · 0 comments

Comments

@zoomiest2
Copy link

I just did a bunch of database work to amalgamate some backups with my current OpenCATS database, and now when I open up a candidate it says EVERYONE is INACTIVE. Then, if I try to edit the Candidate, to uncheck the box, I get the CATS "Bad Server Information" screen.... ?

Expected behavior and actual behavior.

I hope to edit a record. why are ALL candidates "Inactive"?

Steps to reproduce the problem.

It happens with candidate

What version of opencats are you running?

OpenCATS Version 0.9.7.2.

Release or downloaded from Git?

Git

WAMP or LAMP?

LAMP

What version of PHP and MySQL are you running

PHP Version: 7.2.34-45+ubuntu22.04.1+deb.sury.org+1
Database Version: MySQL 10.6.16-MariaDB-0ubuntu0.22.04.1

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

[Fri Apr 12 20:22:07.570140 2024] [mpm_prefork:notice] [pid 18077] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Fri Apr 12 20:22:07.570291 2024] [core:notice] [pid 18077] AH00094: Command line: '/usr/sbin/apache2'
[Fri Apr 12 20:22:20.527549 2024] [php7:warn] [pid 18079] [client 192.168.1.64:49300] PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool
ean given in /var/www/html/ats/lib/DatabaseConnection.php on line 321, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528163 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: isAdminHidden in /var/www/html/ats/modules/candi
dates/CandidatesUI.php on line 496, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528730 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: city in /var/www/html/ats/modules/candidates/Can
didatesUI.php on line 506, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528797 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: state in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 506, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528857 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: notes in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 514, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528916 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: canRelocate in /var/www/html/ats/modules/candida
tes/CandidatesUI.php on line 532, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.528938 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: isHot in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 541, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.533789 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/CandidatesUI.php on line 673, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.533806 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/CandidatesUI.php on line 673, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.543895 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/Show.tpl on line 9, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.543927 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/Show.tpl on line 9, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.546229 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: isAdminHidden in /var/www/html/ats/modules/candi
dates/Show.tpl on line 45, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.546282 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/Show.tpl on line 67, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.546315 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: middleName in /var/www/html/ats/modules/candidat
es/Show.tpl on line 68, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.546343 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/Show.tpl on line 69, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.546370 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: isActive in /var/www/html/ats/modules/candidates
/Show.tpl on line 70, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548364 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: candidateID in /var/www/html/ats/modules/candida
tes/Show.tpl on line 73, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548457 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: email1 in /var/www/html/ats/modules/candidates/S
how.tpl on line 81, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548496 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: email1 in /var/www/html/ats/modules/candidates/S
how.tpl on line 82, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548523 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: email2 in /var/www/html/ats/modules/candidates/S
how.tpl on line 89, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548550 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: email2 in /var/www/html/ats/modules/candidates/S
how.tpl on line 90, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548577 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: phoneHome in /var/www/html/ats/modules/candidate
s/Show.tpl on line 97, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548604 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: phoneCell in /var/www/html/ats/modules/candidate
s/Show.tpl on line 102, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548631 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: phoneWork in /var/www/html/ats/modules/candidate
s/Show.tpl on line 107, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548658 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: bestTimeToCall in /var/www/html/ats/modules/cand
idates/Show.tpl on line 112, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548686 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: address in /var/www/html/ats/modules/candidates/
Show.tpl on line 117, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548716 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: zip in /var/www/html/ats/modules/candidates/Show
.tpl on line 124, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548744 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: source in /var/www/html/ats/modules/candidates/S
how.tpl on line 139, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548775 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: dateAvailable in /var/www/html/ats/modules/candi
dates/Show.tpl on line 164, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548803 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: currentEmployer in /var/www/html/ats/modules/can
didates/Show.tpl on line 169, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548830 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: keySkills in /var/www/html/ats/modules/candidate
s/Show.tpl on line 174, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548858 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: currentPay in /var/www/html/ats/modules/candidat
es/Show.tpl on line 184, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548907 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: desiredPay in /var/www/html/ats/modules/candidat
es/Show.tpl on line 189, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548936 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: pipeline in /var/www/html/ats/modules/candidates
/Show.tpl on line 194, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548963 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: submitted in /var/www/html/ats/modules/candidate
s/Show.tpl on line 199, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.548990 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: dateCreated in /var/www/html/ats/modules/candida
tes/Show.tpl on line 204, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.549018 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: enteredByFullName in /var/www/html/ats/modules/c
andidates/Show.tpl on line 204, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.549121 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: ownerFullName in /var/www/html/ats/modules/candi
dates/Show.tpl on line 209, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:20.549223 2024] [php7:notice] [pid 18079] [client 192.168.1.64:49300] PHP Notice: Undefined index: isAdminHidden in /var/www/html/ats/modules/candi
dates/Show.tpl on line 444, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:26.714604 2024] [php7:warn] [pid 18078] [client 192.168.1.64:49314] PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool
ean given in /var/www/html/ats/lib/DatabaseConnection.php on line 321, referer: http://192.168.1.85/ats/index.php?m=candidates&a=show&candidateID=33828
[Fri Apr 12 20:22:30.087603 2024] [php7:warn] [pid 18078] [client 192.168.1.64:49314] PHP Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool
ean given in /var/www/html/ats/lib/DatabaseConnection.php on line 321, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.087961 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: isAdminHidden in /var/www/html/ats/modules/candi
dates/CandidatesUI.php on line 496, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.088035 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: city in /var/www/html/ats/modules/candidates/Can
didatesUI.php on line 506, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.088088 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: state in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 506, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.088139 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: notes in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 514, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.088195 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: canRelocate in /var/www/html/ats/modules/candida
tes/CandidatesUI.php on line 532, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.088248 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: isHot in /var/www/html/ats/modules/candidates/Ca
ndidatesUI.php on line 541, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.094213 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/CandidatesUI.php on line 673, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.094286 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/CandidatesUI.php on line 673, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.100540 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/Show.tpl on line 9, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.100595 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/Show.tpl on line 9, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.102523 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: isAdminHidden in /var/www/html/ats/modules/candi
dates/Show.tpl on line 45, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.102543 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: firstName in /var/www/html/ats/modules/candidate
s/Show.tpl on line 67, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.102556 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: middleName in /var/www/html/ats/modules/candidat
es/Show.tpl on line 68, referer: http://192.168.1.85/ats/index.php?m=candidates
[Fri Apr 12 20:22:30.102565 2024] [php7:notice] [pid 18078] [client 192.168.1.64:49314] PHP Notice: Undefined index: lastName in /var/www/html/ats/modules/candidates
/Show.tpl on line 69, referer: http://192.168.1.85/ats/index.php?m=candidates

What does this look like to you?
Hopefully, we can fix this. the Inactive state hides the name and contact information of candidates.

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