Formatter goto doesn't exist for type array

I have the following Server Connect, which is similar to others I have on the same page. For some reason this one is not working because it’s complaining about an array and I’m not sure why. The $path variable is the current page.

<dmx-serverconnect id="userAccountDetails" url="dmxConnect/api/Data/getUserAccount.php" dmx-on:success="userAccountDetails.data.UserAccount.approved==1 &amp;&amp; '<?php echo $path ?>' == '/get-started' ? browser1.goto('./') : ''"></dmx-serverconnect>

This is the error in the browser.
parser.js:752 Formatter goto doesn't exist for type array

Here’s what the Server Action is doing.

Community Page
Last updated: