-
Notifications
You must be signed in to change notification settings - Fork 101
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
Connection and repeater issue #44
Comments
@dimahali hey! try to set your wp connection name to |
Thanks @jgrossi it worked but what about repeater issue? I am getting the same issue |
when i change following function in Repeater.php
i get result but i am not getting image, instead id of image as below
i guess we are not getting field type in the following line
|
hey @jgrossi any update? |
Still a problem. Setting connection name to 'wordpress' or 'corcel' has no effect. This was the solution for me (my repeater contained images) Hopefully they will merge the PR soon. For the moment I have to modify the code directly or use a local repo. |
i am getting following error while querying for repeater
Call to a member function get() on null
here is my query
$post->acf->repeater('activity_details')
i guess it is because of not getting type of field required in Repeater class fetchFields function
another issue is when i try to query image following error occurs
i have created seprate connection as below
and added connection to post class
but still getting this error
If i change table prefix in laravel default connection which if for laravel error disapears but i get another error by laravel complaining about prefix..
i have same database for both laravel and wordpress but i am using prefix for only wordpress tables and laravel tables are without prefix...
The text was updated successfully, but these errors were encountered: