Zend certified PHP/Magento developer

Magento 2.2.5 Changes in Controller Don’t Work

I am POSTing data to a controller and saving that data to a session variable for later use. I have no problem accessing the session variable later but I made a typo with how one of the value was sent and now that value is missing in the session variable.

I went back to the controller and fixed the typo but the problem persists. I tried setting up some logging to see if the value was not properly retrieved at the controller but I couldn’t get any log to output. I tried sending different information to the controller and saw that changes did reflect in the session variable.

I suspect there is some kind of caching going on here but can’t seem to figure it out. So far I have tried:

Cleaning & Clearing Magento Cache

Disabling Magento Cache

Running commands:

php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy en_US -f

and resetting opcache using opcache_reset()

Anything glaring I am missing here?? Thanks.