I am getting this error after compiling in command prompt,
Incorrect dependency in class ParadoxLabs\TokenBase\Helper\Data in
/var/www/html/magento2/app/code/ParadoxLabs/TokenBase/Helper/Data.php
\Psr\Log\LoggerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
I have added scope config dependency in my helper.
But as it says, that it is already present in context, then how to use it to fetch config values.
Currently I am using this way to get config values
$this->_scopeConfig->getValue('section/group/field');
Now how to access same, by using context object
Injection for my context object is
\Magento\Framework\App\Helper\Context $context