This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

bnelson5564
bnelson5564

Hello!

When I update October to 309 all of my components break saying:

An exception has been thrown during the rendering of a template ("The component 'Snowfly\Leadershiptasks\Components\PendingVerifications' does not contain a method 'pendingVerifications'.").

Code: {% set pendingVerifications = SELF.pendingVerifications %}

Did October change the way you pass variables to the page? Can you no longer pass them: $this->pendingVerifications = $pendingVerifications;

I have a lot of custom components that use this method to pass information to the html portions. So I am unable to update as it causes all sorts of problems.

daftspunky
daftspunky

You probably need to define it as a property and make it public

public $pendingVerifications;
bnelson5564
bnelson5564

Thank you! That seemed to make everything work again.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.