I've created a basic new mini-panel in Panels and added a context to it. When I then go to edit the mini-panel and click on Context, Layout or Context panels, I'm getting a WSOD with the following error.

PHP Fatal error: Cannot access empty property in cck/modules/nodereference/panels/relationships/node_from_noderef.inc on line 34