Back to ProBlog Support

flodigital788
flodigital788

on the backend page, when i'm trying to "duplicate" a post, the following error message occurs : "Mass assignment failed for Model attribute 'id'." Any help will be much appreciated, best regards!

ChadStrat
ChadStrat

Hi there, change line 56 of /plugins/radiantweb/problog/models/post.php to

    protected $fillable = [
                            'id'
                            ,'title'
                            ,'slug'
                            ,'excerpt'
                            ,'parent'
                            ,'published_at'
                            ,'published'
                            ,'categories'
                            ,'tags'
                        ];

I have made this change to master and next push will reflect this change.

ChadStrat

flodigital788
flodigital788

Hi, on build 153, inorder to make "post duplicate" to work, i applied your fix and i had to get rid of "is_bind" from /plugins/radiantweb/problog/models/post.php , to avoid conflicts with the structure of the table "system_files". Thanks for your quick response and for your great plugin! Florin

pxpx
pxpx

If it helps, here is the initial part of the SQL error.

Column not found: 1054 Unknown column 'is_bind' in 'field list'

Last updated

ChadStrat
ChadStrat

These changes have been made in v1.4.2

ChadStrat

1-5 of 5