This Help forum is for issues relates to the latest release (1.7.9). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Erraor : 150 A non-numeric value encountered 1 year 11 months ago #1

  • Gotlib
  • Gotlib's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
Hello

What is the reason for the errors
/usr/home/[...]/public_html/includes/session.php:193 
/usr/home/[...]/public_html/app/Functions/FunctionsPrintLists.php:150 A non-numeric value encountered #0 
/app/Functions/FunctionsPrintLists.php:150 
ErrorException("/usr/[...]/public_html/app/Functions/FunctionsPrintLists.php:150 A non-numeric value encountered") #1 
/app/Controller/SearchController.php:532 individualTable([array]) #2 /search.php:307 printResults()
?
I choose
"Search-General search"
I'm typing the name and then "search".
An error appears.
I have two trees webtrees 1.7.9.
In one there is no error, and in the other there is.
What should I do to avoid an error?
I do not want to install a new version.

Regards
Gotlib

Please Log in or Create an account to join the conversation.

Erraor : 150 A non-numeric value encountered 1 year 11 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14403
You are using webtrees 1.7.9.

That version of webtrees works with PHP 5.3 - 7.0

(When it was released, PHP 7.0 was the latest version)

I guess that you have upgraded PHP on your server to 7.1 or later.

> I do not want to install a new version.

The latest version 1.7.13 contains the updates to work with PHP 7.1 - 7.3 and a few small bug fixes.

Your choices are

upgrade webtrees
downgrade PHP
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Erraor : 150 A non-numeric value encountered 1 year 11 months ago #3

  • Gotlib
  • Gotlib's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
Thank you very much.
Yes, you are right, I have PHP 7.1.
Both webtrees are on the same server with PHP 7.1.21
There are two virtual servers for two domains.
One works good, and on the other is an error.
...
After some tests, I came to the cause.
The problem is not the PHP version, but no a date of death for any person.
If at least one person has a date of death, the problem does not occur.
I just entered the date of death for one person.
Now it works for me in both Webtrees.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum