Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2021-09-11 10:30:19

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Slow adding New Categories

Dragondz wrote #331557:

I downloaded today the 4.8.8 branch to test the category change but got an error message when going to admin :

Hi,

misery, void return type was added in php 7.1. Try removing these declarations in textpattern\vendors\Textpattern\Textfilter\Registry.php (then php 8.1 will complain).

Offline

#32 2021-09-11 11:01:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,499
Website GitHub

Re: Slow adding New Categories

Uhhh rock and a hard place. That’s annoying. Almost forces us to adopt 7.1 minimum. Drat.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#33 2021-09-11 12:23:43

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Slow adding New Categories

Bloke wrote #331560:

Uhhh rock and a hard place. That’s annoying. Almost forces us to adopt 7.1 minimum. Drat.

Yep. Or release two versions, but seemingly webhosts sometimes upgrade php without warning the users.

Actually, we don’t seem to use the conflicting code anywhere in core. I also doubt any plugin needs it. So we could probably just comment it out?

Offline

#34 2021-09-11 13:14:40

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,499
Website GitHub

Re: Slow adding New Categories

etc wrote #331563:

we don’t seem to use the conflicting code anywhere… So we could probably just comment it out?

Worth a try.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#35 2021-09-13 07:09:51

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Slow adding New Categories

This seems finally work. Tested on php 8.1, 8.0.10 and 5.4.8, more version tests are welcome.

Offline

#36 2021-09-13 08:54:53

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Slow adding New Categories

Hi

Yes error gone (php 7.0.32).

I tested the category tab (Adding categories, modifying, change parent, deleteing) have got no problem. (I have 2000 cat in the tab).

Cheers.

Offline

#37 2021-09-13 12:37:06

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Slow adding New Categories

Great, thank you, Rabah.

Offline

#38 2021-10-18 13:47:48

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Slow adding New Categories

Hi Oleg

Is txp 4.8.8 stable enough to put it on a server or not yet ?

Cheers.

Offline

#39 2021-10-18 14:06:13

etc
Developer
Registered: 2010-11-11
Posts: 5,689
Website GitHub

Re: Slow adding New Categories

Hi Rabah,

I’m not aware of any 4.8.8 bug (and have just updated my txp site), so would say yes. Feature-wise, 4.8.8 can change yet, but, as long as you don’t rely on the latest commits, it should be safe.

Offline

#40 2021-10-18 14:07:04

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Slow adding New Categories

Thanks Oleg.

Offline

#41 2021-10-19 02:57:30

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,670
Website

Re: Slow adding New Categories

Dragondz wrote #331814:

Is txp 4.8.8 stable enough to put it on a server or not yet ?

I use on one live site without problems (because I play live with the new date format capacities !). All the rest is stuff that worked with 4.8.3~7.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#42 2021-10-19 04:54:30

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Slow adding New Categories

Thanks phiw, i will update a client website that needs the new category tab feature that will ease his works.
I will get back with the results.
Cheers.

Offline

#43 2021-10-20 13:55:17

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,559
Website GitHub Twitter

Re: Slow adding New Categories

Hi i updated the website server and all seems ok.

Wonderful.

Offline

Board footer

Powered by FluxBB