Before you ask please READ THIS

Error when activating OneLauncher

in OneLander Posts: 4
I tried activating the theme and I get this code:

Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/content/28/10978528/html/SalemWoodDesigns/wp-content/themes/a13-onelander/advance/utilities/layout-parts.php on line 1082

I had to trash the whole WP installation in order to get back to the dashboard. I then reinstalled the theme and did a live preview this time and am still getting this error. Hoping this is an easy fix and would love the help!

cheers
Jadan

Comments

  • AirAir
    Posts: 10,970
    Hey Jadan :-)

    Indeed there is bug in code in this place but it is very strange it got unnoticed until now.

    Please maek such change in a13-onelander/advance/utilities/layout-parts.php on line 1082
    from
    if( ! empty($service_link && $service_id !== '__last_edit' )){
    to
    if( ! empty($service_link) && $service_id !== '__last_edit' ){

    Should fix this issue. It will also be fixed in next update.

    With kind regards.
  • Posts: 4
    Thank you! That fixed the issue and I am running with the theme!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion