Jump to content

Fatal error when outputting multiple page_reference fields


Manuel
 Share

Recommended Posts

4 hours ago, Manuel said:

'foto' => $_SERVER['SERVER_NAME'] . $planet->planet_foto->url,

I guess what you want is: $planet->planet_foto->httpUrl instead of prepending url it with $_SERVER['SERVER_NAME'] ?
(not sure)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...