Php Notice When I Edit Order

When I click the edit order for any order page, I get this message. If I wait about 5 seconds or so it disappears and then I can get on with my editing. It's just a little annoying and I don't know if it is a bug or on my side. I do not understand it. It started after one of my last upgrades. I am now on v4.5.2.SP2

[attachment=12441:screen shot.jpg]

screen shot.jpg

When I click the edit order for any order page, I get this message. If I wait about 5 seconds or so it disappears and then I can get on with my editing. It's just a little annoying and I don't know if it is a bug or on my side. I do not understand it. It started after one of my last upgrades. I am now on v4.5.2.SP2

attachicon.gifscreen shot.jpg

Hello!

The quick solution - to disable development mode, in config.local.php

ini_set('display_errors', 0);

If you are familiar with php, you can find out where profile_id is lost by debugging.

I understand.

Thanks.

In the mentioned line replace

$cart['profile_id'] = $order_info['profile_id'];

with

$cart['profile_id'] = @$order_info['profile_id'];