Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Error occurred because preg_replace is null
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Error occurred because preg_replace is null

Error occurred because preg_replace is null 7 years, 8 months ago #31993

Hi ,

I have error below when i try goto template setting :

Error occurred because preg_replace is null

Thank You

Re: Error occurred because preg_replace is null 7 years, 8 months ago #32027

  • thuygtn
Dear abimanager

Please go to "your_site\plugins\system\yt\yt.php", finding:
$body1= preg_replace('@<form\s[^>]*name="adminForm"[^>]*>?.*?</form>@siu', $buffer, $body);
=> Edit to:
$body1 = preg_replace('@<form\s[^>]*name="adminForm"[^>]*>([\w|\W]*)</form>@msu', $buffer, $body);

Thanks
  • Page:
  • 1
Time to create page: 0.21 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes