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
  • 2

TOPIC: Error occurred because preg_replace is null

Re: Error occurred because preg_replace is null 10 years, 10 months 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 10 years, 10 months ago #16482

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • 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 10 years, 10 months 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: 10 years, 10 months ago by abo.

Re: Error occurred because preg_replace is null 10 years, 10 months 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: 10 years, 10 months ago by abo.

Re: Error occurred because preg_replace is null 10 years, 10 months ago #16532

Waiting for a status update....

Thanks

Re: Error occurred because preg_replace is null 10 years, 9 months ago #16661

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • 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.28 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