Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2021-02-08 13:08:00

Atlantis
New member
Registered: 2021-02-08
Posts: 4

Post / Preview subject

Hello,

Whenever I want to post or preview a message, I have these error codes that appear:

Deprecated: Function create_function() is deprecated in /home/clients/4d0de92954188decc65d018314769999/web/forum/include/parser.php on line 98

Deprecated: Function create_function() is deprecated in /home/clients/4d0de92954188decc65d018314769999/web/forum/include/functions.php on line 2066

Deprecated: Function create_function() is deprecated in /home/clients/4d0de92954188decc65d018314769999/web/forum/include/functions.php on line 2066

Could you tell me where this might come from, thanks in advance.

Regards,
Atlantis.

Offline

#2 2021-02-08 13:31:53

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Offline

#3 2021-02-08 13:36:31

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Offline

#4 2021-03-05 09:30:53

Atlantis
New member
Registered: 2021-02-08
Posts: 4

Re: Post / Preview subject

Hello,

I'm in PHP 7.3 and the problem is still present when posting or previewing a new message.

Regards,
Atlantis.

Offline

#5 2021-03-05 10:22:37

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Re: Post / Preview subject

So you didn't do what I wrote in my two previous posts.

Offline

#6 2021-03-05 10:33:32

Atlantis
New member
Registered: 2021-02-08
Posts: 4

Re: Post / Preview subject

My version of FluxBB: 1.5.11

Offline

#7 2021-03-05 12:13:03

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Offline

#8 2021-03-05 12:41:37

Atlantis
New member
Registered: 2021-02-08
Posts: 4

Re: Post / Preview subject

Why should I make these changes while on PHP 7.3?

Offline

#9 2021-03-05 13:21:20

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Re: Post / Preview subject

Because FluxBB 1.5.11+ (this is the version that is on github) works without errors only on PHP 7.2.
FluxBB 1.5.11 (which is posted here on the site) does not work correctly even in php 7.2.
fix for PHP 7.4 - is also needed for correct work on php 7.3 (I was too lazy to create a separate ticket for php 7.3).
https://fluxbb.org/development/core/tickets/1147/ - fixes a bug in FluxBB 1.5.11+ related to passwords.

Offline

#10 2021-03-05 16:59:26

quy
Administrator
From: California
Registered: 2008-05-09
Posts: 929

Re: Post / Preview subject

@Visman Please create a ticket for PHP 7.3 with your respective commits and I will create the PR. Thank you!

Offline

#11 2021-03-05 17:35:57

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Re: Post / Preview subject

fix for PHP 7.4 https://fluxbb.org/development/core/tickets/1138/
This ticket contained a change for 7.3 as well.
Now I do not remember what exactly the problem was on 7.3, but I wrote all the changes to this ticket.

P.S. I may be wrong, as it has been a long time sad
But the FluxBB variant from posts https://fluxbb.org/forums/viewtopic.php … 250#p66250 + https://fluxbb.org/forums/viewtopic.php … 251#p66251 was tested on PHP 8.0 and was throwing errors / warnings.

Last edited by Visman (2021-03-05 17:38:33)

Offline

#12 2021-03-12 17:08:03

Visman
Member
From: Siberia
Registered: 2010-07-10
Posts: 1,480
Website

Offline

Board footer

Powered by FluxBB