BlogProtect

Restrict RainLab Blog Post viewers by category permission

Back to BlogProtect Support

Art and Code Studio
Art and Code Studio

Hi, if I click on blog/categories I get this error:

List column type "relation" could not be found.

If I deactivate the Plugin in works again.

I've tried to clear the cache and reinstall the plugin but that does not help.

What can I do? Thank You!

delphinium
daftspunky
daftspunky

This should really be logged on GitHub.

delphinium
delphinium

Fixed in the latest build! Thanks!

KurtJensen
c-y-m19830
c-y-m19830

No, it's NOT fixed in Build 376. After upgrade to this version, my slideshow and responsive Image plugins no longer work. See my entry here with Details: https://octobercms.com/plugin/support/flosch-slideshow/cannot-edit-and-create-slides-anymore-after-octobercms-upgrade

marios33565
marios33565

Was there a fix for this? I got the error again today.

Francisco Guerrero
Francisco Guerrero

Hi, I have this same problem today, after it has been running for the past year.

Please help.

KurtJensen
KurtJensen

If your issue is due to the BlogProtect plugin then feel free tot post here.

If there is an issue with October CMS then it should be posted on github instead.

Just a hint about this issue:

categories:
    label: Categories
    type: relation
    nameFrom: title

is valid in form definitions but not lists.

categories:
    label: Categories
    relation: categories
    select: title

is proper for list definitions.

See: https://octobercms.com/docs/backend/forms#widget-relation

and: https://octobercms.com/docs/backend/lists#column-relation

Last updated

daniel51366
daniel51366

Hi there, I'm getting this error

"List column type "relation" could not be found. Type: relation is not supported, instead use the relation property to specify a relationship to pull the value from and set the type to the type of the value expected."

This occurred once permission for category is added. The blog category can't seem to operate well.

I'm not fully sure what am I supposed to do. Your assistance is much appreciated.

Daniel

KurtJensen
KurtJensen

@daniel51366 Where is the error reported as occuring? ( File and Line )

daniel51366
daniel51366

@KurtJensen modules\backend\widgets\Lists.php line 1159

daniel51366
daniel51366

@KurtJensen Any solution buds?

daniel51366
daniel51366

I guess the problem can be solved by removing " 'type' => 'relation', " within the Plugin.php

Kurt Jensen
Kurt Jensen

I sincerely apologize to all here. I had this error today and found it was a bug in my BlogProtect Plugin. It is now fixed.

1.0.17: 'Fixes List column type "relation" could not be found.'

Kurt Jensen

1-15 of 15