Title: Parse error: syntax error, unexpected class-lp-shortcodes.php
Last modified: March 27, 2017

---

# Parse error: syntax error, unexpected class-lp-shortcodes.php

 *  [martirocha](https://wordpress.org/support/users/martirocha/)
 * (@martirocha)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-class-lp-shortcodes-php/)
 * Newly updated learnpress I can’t access my web. Thew error is “Parse error: syntax
   error, unexpected ‘[‘ in /htdocs/public/www/…/wp-content/plugins/learnpress/inc/
   class-lp-shortcodes.php on line 170”
 * When I disabled the plugin the web again works. Is it possible to go back to 
   the previous version of the plugin?

Viewing 1 replies (of 1 total)

 *  [hienphan](https://wordpress.org/support/users/hienphan/)
 * (@hienphan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-class-lp-shortcodes-php/#post-8973482)
 * Hi,
 * Please update this issue in latest version learnpress, we fixed it.
 * Regards,
 * Hien Phan.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected class-lp-shortcodes.php’ is closed
to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hienphan](https://wordpress.org/support/users/hienphan/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-class-lp-shortcodes-php/#post-8973482)
 * Status: not resolved