Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2018-11-13 21:42:26

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,372
Website

Re: adi_matrix – Multi-article update tabs

Thanks everyone for chipping in on this one. Must confess I’m at a bit of a loss. Can’t reproduce the problem myself.

The ‘criteria_status’ column is/should be type INT, length 2, default 4. If you leave Status blank in the matrix settings, the value set in the table is/should be 0 – i.e. any article status.

Might be worth having a look at the adi_matrix table to check that the ‘criteria_status’ column is set up correctly.

Offline

#194 2022-08-03 09:52:16

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 91

Re: adi_matrix – Multi-article update tabs

I found some warnings on a site running TXP 4.8.8. and PHP EA 8.0. with adi_matrix 2.1beta5, in debug mode.

Warnings are like: A problem occurred while loading the plugin: adi_matrix (2.1beta5) -> 8192: Required parameter $offset follows optional parameter $where on line 848

Alterations to adi_matrix_get_articles() function’s parameter order fixed it:
Around line 846:
function adi_matrix_get_articles($offset,$matrix_index,$limit,$where='1',$sortq='') {

Around lines 2171 and 2207 update the function calls to:
adi_matrix_get_articles($offset,$matrix_index,$pageby,$where,$sortq);

Offline

#195 2022-08-08 22:43:58

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,372
Website

Re: adi_matrix – Multi-article update tabs

peterj wrote #333750:

I found some warnings on a site running TXP 4.8.8. and PHP EA 8.0. with adi_matrix 2.1beta5, in debug mode.

Apologies for the delayed reply. Thanks for the report & the fix. Noted!

Offline

Board footer

Powered by FluxBB