[Skip to main content](#vessel-content)

#   Undefined JSite::getBody() after paypal redirect

##

- **[sima123](/forum/user/43753-sima123 "View sima123's Profile")**
- [![sima123's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/43753-sima123 "View sima123's Profile") Topic Author
- [ Offline](/forum/user/43753-sima123)

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 4 months ago [\#243701](#243701) by [sima123](/forum/user/43753-sima123 "View sima123's Profile")  *[Undefined JSite::getBody() after paypal redirect](/forum/29-payment-methods/885204-undefined-jsite-getbody-after-paypal-redirect#243701 "Hi, I am getting error on my website after payment.  Fatal error: Call to undefined method JSite::getBody() in /var/www/html/plugins/system/hikashopproductinsert/hikashopproductinsert.php on line 59  The error is on this line:  $search&#95;space = substr($body,strpos($body,'")* was created by *[sima123](/forum/user/43753-sima123 "View sima123's Profile")*

Hi,
I am getting error on my website after payment.

Fatal error: Call to undefined method JSite::getBody() in /var/www/html/plugins/system/hikashopproductinsert/hikashopproductinsert.php on line 59

The error is on this line:

$search_space = substr($body,strpos($body,'&lt;body'));

- [ ![error.png](/forum/attachment/32239) ](/forum/attachment/32239 "error.png") [ ](/forum/attachment/32239?download=1 "error.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUyMDQtdW5kZWZpbmVkLWpzaXRlLWdldGJvZHktYWZ0ZXItcGF5cGFsLXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 4 months ago [\#243703](#243703) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Undefined JSite::getBody() after paypal redirect](/forum/29-payment-methods/885204-undefined-jsite-getbody-after-paypal-redirect#243703 "Hi, I am getting error on my website after payment.  Fatal error: Call to undefined method JSite::getBody() in /var/www/html/plugins/system/hikashopproductinsert/hikashopproductinsert.php on line 59  The error is on this line:  $search&#95;space = substr($body,strpos($body,'")*

Hello,

Firstly, can you download the last Hikashop version through our website, install it and test it again ?
Also, if your not using the "Product insert in Joomla! articles" features, you should un-publish "HikaShop product tag translation plugin" and "
HikaShop product tag insertion plugin" plugins.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUyMDQtdW5kZWZpbmVkLWpzaXRlLWdldGJvZHktYWZ0ZXItcGF5cGFsLXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sima123](/forum/user/43753-sima123 "View sima123's Profile")**
- [![sima123's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/43753-sima123 "View sima123's Profile") Topic Author
- [ Offline](/forum/user/43753-sima123)

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 4 months ago -  10 years 4 months ago [\#243794](#243794) by [sima123](/forum/user/43753-sima123 "View sima123's Profile")  Replied by *[sima123](/forum/user/43753-sima123 "View sima123's Profile")* on topic *[Undefined JSite::getBody() after paypal redirect](/forum/29-payment-methods/885204-undefined-jsite-getbody-after-paypal-redirect#243794 "Hi, I am getting error on my website after payment.  Fatal error: Call to undefined method JSite::getBody() in /var/www/html/plugins/system/hikashopproductinsert/hikashopproductinsert.php on line 59  The error is on this line:  $search&#95;space = substr($body,strpos($body,'")*

Hi Mohamed, Thanks for your reply.
I am using the 2.6.2 of hikashop. Does update will solve problem or still I have to disable those plugins

Last edit: 10 years 4 months ago by [sima123](/forum/user/43753-sima123 "View sima123's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUyMDQtdW5kZWZpbmVkLWpzaXRlLWdldGJvZHktYWZ0ZXItcGF5cGFsLXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 4 months ago [\#243798](#243798) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Undefined JSite::getBody() after paypal redirect](/forum/29-payment-methods/885204-undefined-jsite-getbody-after-paypal-redirect#243798 "Hi, I am getting error on my website after payment.  Fatal error: Call to undefined method JSite::getBody() in /var/www/html/plugins/system/hikashopproductinsert/hikashopproductinsert.php on line 59  The error is on this line:  $search&#95;space = substr($body,strpos($body,'")*

The fix fix for this issue is in the 2.6.3, so updating would fix the problem too.
But if you don't need product content tags, I would still recommend to disable these plugins.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODUyMDQtdW5kZWZpbmVkLWpzaXRlLWdldGJvZHktYWZ0ZXItcGF5cGFsLXJlZGlyZWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.193 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
