Plans

Professional Subscription Control Panel with a Billing System and PayPal Payment.

Back to Plans Support

drtzack
drtzack

It says

Trying to get property of non-object

    if(!Auth::check()) {
        Flash::error(post('flash', trans('Registrieren oder anmelden.')));
        return Redirect::intended($redirectUrl);
    }

    $category = Cats::where('slug', $this->param('slug'))->first();
    $this->products = Product::where('category_id', $category->id)->orderBy('pos', 'asc')->get(); // Error in here!

    if(Settings::get('product_column') != '')
        $this->col = 12 / Settings::get('product_column');
    else
        $this->col = 12;
    switch(Settings::get('shoptaxmath')) {

Last updated

1-1 of 1