• Resolved Gabums

    (@gabums)


    Hello!

    I’ve been trying to update the plugin but I keep getting this error:
    Parse error: syntax error, unexpected T_STRING in /home1/ibxwalkt/public_html/h360/wp-content/plugins/relevanssi/lib/indexing.php on line 120

    The previous version that did work was 3.5.8. WordPress just updated today, but this was an issue on the previous version as well. I tried uninstalling and reinstalling, and it still doesn’t work.

    Any ideas?

    Thanks so much!

Viewing 9 replies - 1 through 9 (of 9 total)
  • I had the same problem.

    For the moment I deleted the plugin folder in through the FTP and the website started working again.

    Plugin Author Mikko Saari

    (@msaari)

    Some people have this error, yes. I still haven’t been able to figure out what is wrong on the line 120 – I don’t get an error on any of my sites, and most of the people don’t have any issues with this.

    There’s some suggestions that this might have something to do with PHP versions – can you tell me which PHP version you have on your server?

    Could you please try 3.5.9.1 with this indexing.php (replace the old indexing.php in the /lib folder with this file): https://www.dropbox.com/s/vqsenlp26s1v5q8/indexing.php?dl=0

    It might still have a fatal error, but it would be really helpful if you can tell me which line has the fatal error.

    While I try and figure this out, 3.5.8 works, and 3.5.9 is a fairly minor upgrade from that, so you’re safe using 3.5.8 for now.

    Thread Starter Gabums

    (@gabums)

    Thanks for getting back to me so quickly!

    I replaced the indexing file with the one you provided and now I get this error:
    Parse error: syntax error, unexpected T_STRING in /home1/ibxwalkt/public_html/h360/wp-content/plugins/relevanssi/lib/indexing.php on line 122

    I have two sites with your plugin, a live one and a test one. The test one that is getting all these errors is running PHP version 5.4.24. The live one wouldn’t let me update the plugin in the first place (another error) so I stopped there for fear of breaking a live site. The live site is running PHP 5.10.1.

    Thanks again!

    Plugin Author Mikko Saari

    (@msaari)

    I’ve changed this file a bit, does it work any better now?

    https://www.dropbox.com/s/vqsenlp26s1v5q8/indexing.php?dl=0

    Plugin Author Mikko Saari

    (@msaari)

    This might to be related to namespaces, which didn’t exist before PHP 5.3. Still doesn’t explain why you’re seeing the error with PHP 5.4.

    Thread Starter Gabums

    (@gabums)

    Hmm… still didn’t work and got the error back on line 120 again…

    Parse error: syntax error, unexpected T_STRING in /home1/ibxwalkt/public_html/h360/wp-content/plugins/relevanssi/lib/indexing.php on line 120

    So strange!

    Plugin Author Mikko Saari

    (@msaari)

    Thread Starter Gabums

    (@gabums)

    It worked, Huzzah! You’re fantastic! Thanks so much for your help ??

    Plugin Author Mikko Saari

    (@msaari)

    Thanks! The next version will fix this for good, then.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error/Parse error – Line 120’ is closed to new replies.