Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use many unions and use paginate errors #110

Closed
nguyendachuy opened this issue Aug 5, 2021 · 1 comment
Closed

Use many unions and use paginate errors #110

nguyendachuy opened this issue Aug 5, 2021 · 1 comment

Comments

@nguyendachuy
Copy link

Hello

When I use many unions with the use of paginate, error occurs

Error appears when I set LADA_CACHE_ACTIVE = true
Also it works well when not using LADA

Here is code
$a->union($b)->union($c)->paginate(10);

Error: Undefined property: stdClass::$aggregate

"Undefined property: stdClass::$aggregate"

"\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php"
2198
array:2 [▼
  "columns" => array:1 [▼
    0 => "*"
  ]
  "results" => array:1 [▼
    0 => {#2051}
  ]
]

Version: 3.*
Laravel: 5.8

Thanks for reading!

@spiritix
Copy link
Owner

spiritix commented Nov 9, 2021

Sorry for the late reply. I don't provide support for older versions of Lada Cache anymore. Please upgrade to the most recent version.

@spiritix spiritix closed this as completed Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants