Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
After getting payments done using merchello custom controller, i am redirecting user to my custom action inside this custom controller that is inheriting surface controller. In the returned view from this action, i have used a master layout. In master layout, there is a macro that is being rendered for all pages, but after finishing payment module, when i'm redirecting it to my custom controller action using redirect url, i'm getting this kind of error:
Cannot render a macro when there is no current PublishedContentRequest
Normally it works okay before i used to invoke custom controller for all pages.
see the attached screenshot below:
Please help guys, Thanks in advance :)
Waiting for reply guys :)
Hey guys, please help me to resolve this issue, i'm very curious to know why this kind of issue normally occur and when :)
Thanks & Regards
This usually occurs when you try to invoke the context when there is none. Can you perhaps show me the stacktrace in the logfile when the error occurs?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted