Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Textpattern 4.8.2 is nearly ready
philwareham wrote #324744:
Pretty sure you need to be testing 4.8 not Dev branch?
I first tested the one linked by Pete and yesterday i downloaded from github.com/textpattern/textpattern.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern 4.8.2 is nearly ready
colak wrote #324745:
I first tested the one linked by Pete and yesterday i downloaded from github.com/textpattern/textpattern.
yes that’s is TXP.next aka TXP-4.9.0-dev
. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textpattern 4.8.2 is nearly ready
phiw13 wrote #324746:
yes that’s is TXP.next aka
TXP-4.9.0-dev
. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.
Great! Uploaded and I am only getting this error (added line breaks for legibility)
<pre dir="auto">Tag error: <b><txp:permlink /></b> ->
<b> Warning: array_change_key_case() expects parameter 1 to be array, null given while parsing form
<strong>None</strong> on page <strong>default</strong></b></pre>
<pre dir="auto">Tag error: <b><txp:permlink /></b> ->
<b> Warning: Invalid argument supplied for foreach() while parsing form <strong>None</strong>
on page <strong>default</strong></b></pre>
Having said that, the page appears that it is all there, and there are no visible issues when on live mode.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern 4.8.2 is nearly ready
It is a warning, it seems so nothing disastrous. That said, I don’t see anything here with __my_ use of <txp:permlink />
, which means little of course.
What is the context in which the tag is used ? And also: anything special on the server set up?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textpattern 4.8.2 is nearly ready
phiw13 wrote #324751:
It is a warning, it seems so nothing disastrous. That said, I don’t see anything here with __my_ use of
<txp:permlink />
, which means little of course.What is the context in which the tag is used ? And also: anything special on the server set up?
Hi Philippe,
I think that the errors appear because I do not use a form/listform and favour container tags instead: <pre dir="auto">Tag error: <b><txp:permlink /></b> -> <b> Warning: array_change_key_case() expects parameter 1 to be array, null given while parsing form <strong>None</strong> on page <strong>default</strong></b></pre>
Last edited by colak (2020-07-22 06:45:54)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern 4.8.2 is nearly ready
phiw13 wrote #324746:
yes that’s is TXP.next aka
TXP-4.9.0-dev
. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.
To clarify for anyone else reading – I posted this link:
github.com/textpattern/textpattern/archive/482-recovery-bloke.zip
…which is 4.8.2-dev at the time you download it. This is what will become 4.8.2 in the next day or so, barring any showstopping issues.
Offline
Re: Textpattern 4.8.2 is nearly ready
colak wrote #324752:
I think that the errors appear because I do not use a form/listform and favour container tags instead
Yes, but please would you post an example of your tag in use and its surrounding context (article list, individual article, etc), so we can try and emulate this?
As far as I can tell from the code we might be able to defend against this, but it’ll only happen if you’re not in individual article context and trying to (incorrectly) use the tag without an id
attribute.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Textpattern 4.8.2 is nearly ready
Bloke wrote #324764:
Yes, but please would you post an example of your tag in use and its surrounding context (article list, individual article, etc), so we can try and emulate this?
As far as I can tell from the code we might be able to defend against this, but it’ll only happen if you’re not in individual article context and trying to (incorrectly) use the tag without an
id
attribute.
There are a lot of intstances
ie
- article_id outside an article context
- Permilnk cannot be used outside an article context.
- Permilnk cannot be used outside an article context (resides in article_custom)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern 4.8.2 is nearly ready
colak wrote #324770:
article_id outside an article context
Not sure I follow. There are no permlink tags in those lines.
Permlink cannot be used outside an article context.
And all these, bar the Facebook usage, are in article scope so shouldn’t trigger any issue.
The Facebook line will throw an error, so maybe that one is the culprit and needs wrapping in some <txp:if_individual_article>
context?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Textpattern 4.8.2 is nearly ready
Sorry Stef, all the above through errors on debug. The last example demonstrates one of my permlinks which also shows as an error when on testing or debug.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Textpattern 4.8.2 is nearly ready
colak wrote #324773:
Sorry Stef, all the above through errors on debug.
The <txp:article_id>
tag cannot be used outside a corresponding article context, so the errors are expected.
The last example demonstrates one of my permlinks which also shows as an error when on testing or debug.
On 4.8.2-dev, I get “Unknown tag attribute: c10” when I try it. If I take that attribute out, the tag functions perfectly. What am I missing?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Textpattern 4.8.2 is nearly ready
C10 is a custom field so it is expected that you may get an error there. Apologies guys, I am juggling too many converging, pre holiday, deadlines… yet again. The errors I get are only when I am on debug or testing mode. When I switch to live mode the site behaves as expected.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline