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

[SOLVED] Template Manager: Templates error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] Template Manager: Templates error

[SOLVED] Template Manager: Templates error 10 years, 7 months ago #11680

  • kellym9236
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
when I go to my Template Manager: Templates and click on the Sj_plus Details and Files

I get this error: Error occurred because preg_replace is null

I cannot edit my template files, has anyone had this happen to them?

I would really appreciate any help or direction, Thanks to all, for your time and consideration.

Kelly
The topic has been locked.

Re: Template Manager: Templates error 10 years, 7 months ago #11719

  • SA Thuy
Dear Kelly,

Please go to Extensions->Extensions Manager-> Update and update newest version of YT plugin.

Thanks
The topic has been locked.

Re: Template Manager: Templates error 10 years, 5 months ago #12658

I have the same problem, update didnt help me
The topic has been locked.

Re: Template Manager: Templates error 10 years, 5 months ago #12691

  • Gurkut
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
I have same problem too. and its not update problem
The topic has been locked.

Re: Template Manager: Templates error 10 years, 5 months ago #12692

Please go to "your_site\plugins\system\yt\yt.php", finding:

$body1= preg_replace('@<form\s[^>]*name="adminForm"[^>]*>?.*?</form>@siu', $buffer, $body);

replace:

$body1 = preg_replace('@<form\s[^>]*name="adminForm"[^>]*>([\w|\W]*)</form>@msu', $buffer, $body);
The topic has been locked.

Re: Template Manager: Templates error 10 years, 5 months ago #12703

  • Gurkut
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Thanks Peter. it's working.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.26 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