Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
× IMPORTANT! Please be informed that our office will be closed from January 29 to February 06, 2022 (GMT+7) for Lunar New Year Holiday and resume to work on February 07, 2022. Thank you!
Welcome, Guest

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

TOPIC: Error occurred because preg_replace is null

Re: Error occurred because preg_replace is null 8 years ago #16476

Thanks for your patience. I am sending the access data with this message. Sorry, I missed that option before, but I thought you had a standard access with your quickstart packages.

Re: Error occurred because preg_replace is null 8 years ago #16482

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear Carol Bochmann,

For this issue, please open file (your_site\plugins\system\yt\yt.php) and find this code:

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


Change by:
$body1 = preg_replace('@<form\s[^>]*name="adminForm"[^>]*>([\w|\W]*)</form>@msu', $buffer, $body);


Thanks!

Re: Error occurred because preg_replace is null 8 years ago #16483

Thanks for your ... standard .... reply.

As we explained further up, this is exactly what we did. To begin with, this solution did work... but after some updates this solution no longer works on our site.

Error occurred because preg_replace is null



PS.: Probably related.... we also get an error message when we try to "Clean Cache: CSS, JS"
Thus we assume there must be a JavaScript conflict somewhere....
Last Edit: 8 years ago by abo.

Re: Error occurred because preg_replace is null 8 years ago #16489

Turned off all other components .... and turned them on again ... one by one.

Now the error message for the Smartaddons "Clean Cache" disappeared.

But the template SJ Royal still cannot be accessed in the backend.
Last Edit: 8 years ago by abo.

Re: Error occurred because preg_replace is null 8 years ago #16532

Waiting for a status update....

Thanks

Re: Error occurred because preg_replace is null 7 years, 11 months ago #16661

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear Carol Bochmann,

We are sorry for any inconvenience, could you please send us your account FTP so that we could check directly.

Thanks!
  • Page:
  • 1
  • 2
Time to create page: 0.41 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.

Suggested Posts

(/)
Result not found!

Happy Year of the Tiger 2022! 35% OFF on All Orders & More

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