Skip to content

entity serialization #1

Description

@pachay

Hi,

i get stuck at adding item to cart:

//Kitpages/ShopBundle/Model/Cart/Cart.php

$cartLine->setId($this->lineSequence); <-- setting "1"
$this->lineList[$this->lineSequence] = $cartLine; <-- returning Notice: Unknown: "id" returned as member variable from __sleep() but does not exist in Unknown line 0

In this case serialization is not working. What version of Symfony and Doctrine are you using?

Maybe this article helps http://danosipov.com/blog/?p=377 ?

Can you help me to get working version KitpagesShopBundle with Sf 2.0.11& Doctrine 2.1.6?

Thanks for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions