Support » Fixing WordPress » Fatal error: Can’t use function return value

  • AA Media Studios

    (@saltashconstruction)


    Getting this error once i install the theme : Fatal error: Can’t use function return value in write context in /home4/awallace/public_html/andrewdalhouse.co.uk/wp-content/themes/oz/admin/public/class.WilokePublic.php on line 2078

    Can anyone help?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried:
    -deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    -switching to the default theme to rule out any theme-specific problems.

    AA Media Studios

    (@saltashconstruction)

    Yes i’ve done that with no successful result.It’s definitely something to do with the theme as resorting to default themes brings up no issues.
    This is the line 2078 which the error highlights.Can anyone see any issues ?

    if ( empty(wp_get_attachment_image_url($aBoxContent[‘bg’][‘id’]) ) {

    Which theme are you using? What’s the URL from WordPress.org?

    Moderator cubecolour

    (@numeeja)

    ɹoʇɐɹǝpoɯ

    Oz appears to be a commercial theme, so you need to contact your theme’s vendor for support as they will know how its built and how to troubleshoot the issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Can’t use function return value’ is closed to new replies.