Severity: Warning
Message: Use of undefined constant SHOPIFY_APP_API_KEY - assumed 'SHOPIFY_APP_API_KEY' (this will throw an Error in a future version of PHP)
Filename: controllers/MY_Shopify.php
Line Number: 1628
Backtrace:
File: /var/www/html/app.redretarget.com/sapp/vendor/sentry/sentry/src/ErrorHandler.php
Line: 187
Function: _error_handler
File: /var/www/html/app.redretarget.com/sapp/application/controllers/MY_Shopify.php
Line: 1628
Function: handleError
File: /var/www/html/app.redretarget.com/sapp/application/controllers/MY_Shopify.php
Line: 553
Function: niche_tracking
File: /var/www/html/app.redretarget.com/sapp/index.php
Line: 301
Function: require_once
Severity: Warning
Message: Use of undefined constant SHOPIFY_APP_API_VERSION - assumed 'SHOPIFY_APP_API_VERSION' (this will throw an Error in a future version of PHP)
Filename: controllers/MY_Shopify.php
Line Number: 1630
Backtrace:
File: /var/www/html/app.redretarget.com/sapp/application/controllers/MY_Shopify.php
Line: 1630
Function: _error_handler
File: /var/www/html/app.redretarget.com/sapp/application/controllers/MY_Shopify.php
Line: 553
Function: niche_tracking
File: /var/www/html/app.redretarget.com/sapp/index.php
Line: 301
Function: require_once
An Error occurred while handling another error: yii\base\InvalidParamException: Response content must not be an array. in /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/web/Response.php:1020 Stack trace: #0 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/web/Response.php(313): yii\web\Response->prepare() #1 /var/www/html/app.redretarget.com/tfycore/modules/v1/components/ApiErrorHandler.php(29): yii\web\Response->send() #2 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/ErrorHandler.php(109): app\modules\v1\components\ApiErrorHandler->renderException(Object(yii\web\UnauthorizedHttpException)) #3 /var/www/html/app.redretarget.com/tfycore/vendor/sentry/sentry/src/ErrorHandler.php(246): yii\base\ErrorHandler->handleException(Object(yii\web\UnauthorizedHttpException)) #4 [internal function]: Sentry\ErrorHandler->handleException(Object(yii\web\UnauthorizedHttpException)) #5 {main} Previous exception: yii\web\UnauthorizedHttpException: Your request was made with invalid credentials. in /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/filters/auth/AuthMethod.php:91 Stack trace: #0 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/filters/auth/AuthMethod.php(74): yii\filters\auth\AuthMethod->handleFailure(Object(yii\web\Response)) #1 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/filters/auth/CompositeAuth.php(57): yii\filters\auth\AuthMethod->beforeAction(Object(yii\base\InlineAction)) #2 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/ActionFilter.php(73): yii\filters\auth\CompositeAuth->beforeAction(Object(yii\base\InlineAction)) #3 [internal function]: yii\base\ActionFilter->beforeFilter(Object(yii\base\ActionEvent)) #4 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/Component.php(540): call_user_func(Array, Object(yii\base\ActionEvent)) #5 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/Controller.php(269): yii\base\Component->trigger('beforeAction', Object(yii\base\ActionEvent)) #6 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/web/Controller.php(108): yii\base\Controller->beforeAction(Object(yii\base\InlineAction)) #7 /var/www/html/app.redretarget.com/tfycore/modules/v1/components/CustomController.php(69): yii\web\Controller->beforeAction(Object(yii\base\InlineAction)) #8 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/Controller.php(152): app\modules\v1\components\CustomController->beforeAction(Object(yii\base\InlineAction)) #9 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/Module.php(454): yii\base\Controller->runAction('js', Array) #10 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/web/Application.php(100): yii\base\Module->runAction('v1/track/js', Array) #11 /var/www/html/app.redretarget.com/tfycore/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request)) #12 /var/www/html/app.redretarget.com/tfycore/web/index.php(17): yii\base\Application->run() #13 {main}}; function firecheckout(){ var dataocu = document.querySelectorAll('form,a'), l = dataocu.length, i, cur; for(i=0; i