• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed server error when trying to delete a review reply

Status
Not open for further replies.

electrogypsy

New Member
AMS Premium
SC Premium
XenForo Version String: XenForo 2.0.11

Addon Version String: Showcase 3.0.0 RC5

Stack Trace: below

Can you reproduce it here? haven't tried on this board, just mine.

Must be able to reproduce on the Default XenForo Style. yes, reproducible :)

Include as many details as possible along with steps to reproduce.

Hey there, I came across this error today when trying to delete comments on the reviews in a showcase item:

Code:
Server error log
TypeError: Argument 1 passed to XF\Template\Templater::breadcrumbs() must be of the type array, string given, called in /home/nginx/domains/squattheplanet.com/public/internal_data/code_cache/templates/l3/s115/public/xa_sc_review_reply_delete.php on line 10 src/XF/Template/Templater.php:1398
Generated by: Matt Derrick Dec 1, 2018 at 1:40 PM
Stack trace
#0 internal_data/code_cache/templates/l3/s115/public/xa_sc_review_reply_delete.php(10): XF\Template\Templater->breadcrumbs('')
#1 src/XF/Template/Templater.php(1250): XF\Template\Templater->{closure}(Object(xenMade\UASD\XF\Template\Templater), Array)
#2 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('xa_sc_review_re...', Array)
#3 src/XF/Mvc/Renderer/Json.php(81): XF\Template\Template->render()
#4 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\Json->renderHtmlFallback('XenAddons\\Showc...', 'public:xa_sc_re...', Array)
#5 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('XenAddons\\Showc...', 'public:xa_sc_re...', Array)
#6 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#9 src/XF.php(329): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
  ["url"] => string(166) "/atlas/review-reply/1/delete?_xfRequestUri=%2Fatlas%2Fslab-city-library.2%2F&_xfWithData=1&_xfToken=1543700446%2C0be8cd3e356583e67df3cf702d378012&_xfResponseType=json"
  ["referrer"] => string(53) "https://squattheplanet.com/atlas/slab-city-library.2/"
  ["_GET"] => array(5) {
    ["/atlas/review-reply/1/delete"] => string(0) ""
    ["_xfRequestUri"] => string(27) "/atlas/slab-city-library.2/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1543700446,0be8cd3e356583e67df3cf702d378012"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Due to this error I am unable to remove comments on reviews (screenshot attached).
 

Attachments

  • screenshot-squattheplanet.com-2018.12.01-13-45-33.png
    screenshot-squattheplanet.com-2018.12.01-13-45-33.png
    62.7 KB · Views: 1
Status
Not open for further replies.
Back
Top