Title: Parse error after installation
Last modified: January 6, 2023

---

# Parse error after installation

 *  Resolved [Alex_Kiosa](https://wordpress.org/support/users/alex_kiosa/)
 * (@alex_kiosa)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/parse-error-after-installation/)
 * After installation I got this error
 * Parse error: syntax error, unexpected ‘?’ in …/wp-content/plugins/visual-portfolio/
   classes/class-security.php on line 398
 * [https://drive.google.com/file/d/1896MZ-6MmEOrx-5_G2ElAvUZqo7LUT4H/view?usp=sharing](https://drive.google.com/file/d/1896MZ-6MmEOrx-5_G2ElAvUZqo7LUT4H/view?usp=sharing)

Viewing 1 replies (of 1 total)

 *  Plugin Author [nK](https://wordpress.org/support/users/nko/)
 * (@nko)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-after-installation/#post-16357428)
 * Hey.
 * On this line, we are using the operator `??`, which is valid and should work 
   in PHP 7.
 * Please, make sure your server uses PHP 7.2 or higher.
 * Regards, nK.

Viewing 1 replies (of 1 total)

The topic ‘Parse error after installation’ is closed to new replies.

 * ![](https://ps.w.org/visual-portfolio/assets/icon-256x256.png?rev=2389881)
 * [Visual Portfolio, Photo Gallery & Post Grid](https://wordpress.org/plugins/visual-portfolio/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-portfolio/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-portfolio/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-portfolio/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-portfolio/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-portfolio/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nK](https://wordpress.org/support/users/nko/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-after-installation/#post-16357428)
 * Status: resolved