Hey everyone! ive tried to make some posts on the forum but they either get marked for spam i just straight up dissapear when i press "post question" and if i have to write this a 4th time ill loose my mind haha.
i have an elementtype (projectupload) that i upload into a blockgrid (projectGrid) on a page called "profilepage". in my controller, ive debugged to make sure the element is added to the list in the grid, which it is, and it appears when i open the backoffice. but! it doesnt show in my frontend, in fact i get a "value cannot be null" from my frontend code if i try to refresh. however, when i manually press publish in the backoffice, everything works again(and the new post is in the grid aswell). I am using ContentService to add, create, save and publish. Any ideas of what could be the issue ? Ill provide the controller, frontend or anything else if needed 🙂