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 after installing version r1605 #1264

Open
espiney opened this issue Jun 25, 2023 · 3 comments
Open

Error after installing version r1605 #1264

espiney opened this issue Jun 25, 2023 · 3 comments

Comments

@espiney
Copy link

espiney commented Jun 25, 2023

During installation, I did receive an error 500, but I haven't been able to reproduce this error. Once the installation was 'complete', I checked the mysql database, and there are database tables created with the admin user setup.

When viewing the main login page, no errors are present. After logging into the site I get the following error stream after turning on debugging within the config file.

`Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /home/dh_anf3ww/drone.ahwaday.com/includes/functions.php on line 966

Parse error: syntax error, unexpected token "<", expecting end of file in /home/dh_anf3ww/drone.ahwaday.com/includes/upgrades/2022092501.php on line 9`

Upon examining this file, it looks like the <?php tag is opened and not closed. This is a snippet of lines 1-17
`<?php
function upgrade_2022092501()
{
add_option_if_not_exists('email_2fa_code_subject_customize', '0');
add_option_if_not_exists('email_2fa_code_subject', '');
add_option_if_not_exists('email_2fa_code_customize', '0');
add_option_if_not_exists('email_2fa_code_text', '');
}

@espiney
Copy link
Author

espiney commented Jun 25, 2023

So - I fixed the problem, looks like the function was repeated a bunch in the file. I'm going to see if I'm able to create a request to get this file fixed.

@Photograaf16
Copy link

So - I fixed the problem, looks like the function was repeated a bunch in the file. I'm going to see if I'm able to create a request to get this file fixed.

In what file if i may ask??? experiencing the same issue with my clients!

@tmanmidwest
Copy link

Did a fresh install and getting similar error: Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/NAMEOFDIRECTORY/includes/functions.php on line 966

Has an update been made or another way to resolve this as it shows up at the top of the page.

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

3 participants