owldesign / QARR

Grow your business by allowing visitors to leave reviews or ask a questions.
https://qarr.tools
Other
6 stars 5 forks source link

Approving Questions or Answers gives 404 Error #40

Closed CC-DP closed 3 years ago

CC-DP commented 3 years ago

Staging environment on Cloudways.

After a question is submitted from the frontend (works every time), on the backend trying to approved the question or approve an answer but they all return with this:

console log:

DevTools failed to load source map: Could not load content for https://phpstack-***-***.cloudwaysapps.com/cpresources/37b3c933/tippy/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for https://phpstack-***-***.cloudwaysapps.com/cpresources/37b3c933/tippy/index.all.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
10196949:6 POST https://phpstack-***-***.cloudwaysapps.com/index.php?p=admin/actions/qarr/elements/update-status 404
nrWrapper @ 10196949:6
send @ jquery.js:10109
ajax @ jquery.js:9690
postActionRequest @ Craft.js:572
(anonymous) @ element-edit.js?v=1633658564:44
dispatch @ jquery.js:5430
v.handle @ jquery.js:5234
nrWrapper @ 10196949:6
10196949:6 POST https://phpstack-***-***.cloudwaysapps.com/index.php?p=admin/actions/qarr/elements/update-status 404
nrWrapper @ 10196949:6
send @ jquery.js:10109
ajax @ jquery.js:9690
postActionRequest @ Craft.js:572
(anonymous) @ element-edit.js?v=1633658564:44
dispatch @ jquery.js:5430
v.handle @ jquery.js:5234
nrWrapper @ 10196949:6
Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort'.

craft ajax log error:


Stack trace:
#0 [internal function]: craft\controllers\TemplatesController->actionRender('actions/qarr/el...', Array)
#1 /home/***.cloudwaysapps.com/***/public_html/***/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#2 /home/***.cloudwaysapps.com/***/public_html/***/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams(Array)
#3 /home/***.cloudwaysapps.com/***/public_html/***/vendor/craftcms/cms/src/web/Controller.php(190): yii\base\Controller->runAction('render', Array)
#4 /home/***.cloudwaysapps.com/***/public_html/***/vendor/yiisoft/yii2/base/Module.php(534): craft\web\Controller->runAction('render', Array)
#5 /home/***.cloudwaysapps.com/***/public_html/***/vendor/craftcms/cms/src/web/Application.php(276): yii\base\Module->runAction('templates/rende...', Array)
#6 /home/***.cloudwaysapps.com/***/public_html/***/vendor/yiisoft/yii2/web/Application.php(104): craft\web\Application->runAction('templates/rende...', Array)
#7 /home/***.cloudwaysapps.com/***/public_html/***/vendor/craftcms/cms/src/web/Application.php(261): yii\web\Application->handleRequest(Object(craft\web\Request))
#8 /home/***.cloudwaysapps.com/***/public_html/***/vendor/yiisoft/yii2/base/Application.php(392): craft\web\Application->handleRequest(Object(craft\web\Request))
#9 /home/***.cloudwaysapps.com/***/public_html/***/web/index.php(21): yii\base\Application->run()
#10 {main}```