Title: REHUB &#8211; PHP Parse error: syntax error, unexpected
Last modified: September 16, 2024

---

# REHUB – PHP Parse error: syntax error, unexpected

 *  [dannyogolo](https://wordpress.org/support/users/dannyogolo/)
 * (@dannyogolo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-12/)
 * Hello,
 * I moved my website from one host (Cloudways) to another (Namecheap). The website
   goes off if ReHub is activated. But when other wordpress themes are activated,
   it works.
 * But i want to use ReHub because I used it to design the website, so everything
   was fine.
 * Here is the error log that throws us when Rehub is activated (and the site goes
   off):
 * [16-Sep-2024 10:05:16 UTC] PHP Parse error: syntax error, unexpected ‘\’ (T_NS_SEPARATOR),
   expecting ‘)’ in /home/footyjsr/imarena.net/wp-content/themes/rehub-theme/functions/
   woo_functions.php on line 531
   [16-Sep-2024 10:05:16 UTC] PHP Fatal error: Exception
   thrown without a stack frame in Unknown on line 0
    -  This topic was modified 1 year, 8 months ago by [dannyogolo](https://wordpress.org/support/users/dannyogolo/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-parse-error-syntax-error-unexpected-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-12/#post-18017753)
 * Support of all commercial themes and plugins is out of scope for these forums.
   While we will not close your post, we also cannot guarantee any support at all,
   be that by volunteers or the developers. **We recommend you instead use the developer’s
   official contact for their premium offerings,** as that is the most direct line.
 * [https://themeforest.net/item/rehub-directory-multi-vendor-shop-coupon-affiliate-theme/7646339/support](https://themeforest.net/item/rehub-directory-multi-vendor-shop-coupon-affiliate-theme/7646339/support)
 *  Thread Starter [dannyogolo](https://wordpress.org/support/users/dannyogolo/)
 * (@dannyogolo)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-12/#post-18022014)
 * Any help here?

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

The topic ‘REHUB – PHP Parse error: syntax error, unexpected’ is closed to new replies.

## Tags

 * [php parse error](https://wordpress.org/support/topic-tag/php-parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dannyogolo](https://wordpress.org/support/users/dannyogolo/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/php-parse-error-syntax-error-unexpected-12/#post-18022014)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
