• hi. i have a site and i’m working with this for 5 months.
    about 3month ago i saw this error

    Parse error: syntax error, unexpected ‘”‘ in /home/municir/public_html/shop_onbik/wp-includes/functions.php on line 4615

    basicly i know how to fix it. in first times i just upload function.php from original theme.
    after a few weeks i saw that error again. but this time i couldn’t fix it with updoading function.php . so i upload my whole site backup and problem fixed

    In recent days this error appear every day! i fix it and it just appear again after a few hours 😐
    this is so disaster

    how to fix this problem?!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mohammadahmadi72

    (@mohammadahmadi72)

    here is some information that may help u to undrestand this error better.

    1. usually this appear when site is busy. for example when i open 50 pages, i see 5 pages have this error. or when i called up customers to see sth on site, At that moment site destroyed. it appear when many people use site together.

    2. i created a coppy of my site in another subdomine. my main site find this problem every but the copy of site is ok.
    when i opened 50 pages in new site, 5 pages found error white the whole site still work corectly
    here u can see errors

    Parse error: syntax error, unexpected ‘”‘ in /home/municir/public_html/shop_onbik/wp-includes/functions.php on line 4615

    Parse error: syntax error, unexpected ”Error establishing a da’ (T_ENCAPSED_AND_WHITESPACE), expecting ‘)’ in /home/municir/public_html/shop_onbik/wp-includes/functions.php on line 3513

    Parse error: syntax error, unexpected ”;” (T_CONSTANT_ENCAPSED_STRING) in /home/municir/public_html/shop_onbik/wp-includes/functions.php on line 357

    Parse error: syntax error, unexpected ‘field’ (T_STRING), expecting ‘(‘ in /home/municir/public_html/test/wp-includes/functions.php on line 1454

    Parse error: syntax error, unexpected ”] ) );’ (T_CONSTANT_ENCAPSED_STRING) in /home/municir/public_html/test/wp-includes/functions.php on line 4214

    3. when i disable all Plugins, the problem still exist

    4. yesterday when i opened many pages together, site destroyed and error appeared. i fixed the problem (by uploading whole site backup) and i opened many pages again. but this time nothing happened

    Honestly, no idea.

    But: you’re saying “customers”. Are you running a business ?

    If so, I would suggest that you go to more radical steps.
    – If it’s about saving your sales figure, that wouldn’t be unnatural to hire a tech to see what he can do;
    – Or, less radically, can’t you try moving to a different web host, maybe it’s your web host that sucks, to be blunt ? I don’t want to be rude, but unless something is really gone BAD with your wordpress blog, it’s a shame for a web host if a website goes down with just a 50 pages load or 50 visitors spike.
    – Even less radically, did you ensure your website is properly optimized, have you at least installed a caching plugin such as wp-supercache ? This drastically improves website performance, your blog engine stops grinding all of its gears with every new request, for each different page, all the visitors save the first one are served a static HTML page.

    Edit: also, have you considered your site may be hacked by something ? That doesn’t look likely (a hack editing files will keep them edited, I mean, not just when you have traffic spikes). You may want to give the Sucuri Site Scanner a look, just in case, to remove that doubt at least.

    Edit2 : I realize I didn’t even write the obvious, kinda assuming you already tried that. Have you tried reinstalling wordpress ?

    Thread Starter mohammadahmadi72

    (@mohammadahmadi72)

    1. hire a tec? HEHE! that’s a good idea
    2. i have three site on same host. and other sites are working very well
    3. “wp-supercache” improved site and site was alive for a longer time. but problem still exist
    4. reinstall wordpress? i’m not sure what do u mean! i just extracted my theme and wordpress (fist file that i installed on my site) over my site folder and problem still exist.
    5. hack?! idk. maybe!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Function.php Parse error’ is closed to new replies.