Title: parse errors
Last modified: August 21, 2016

---

# parse errors

 *  [SiteSubscribe](https://wordpress.org/support/users/sitesubscribe/)
 * (@sitesubscribe)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/)
 * Getting the following errors on one site:
 * on activate:
    Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or‘;’
   in /home/applewoo/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/
   page_post_redirect_plugin.php on line 224
 * on edit page or create and publish new page:
 * Warning: parse_url([http://](https://wordpress.org/support/topic/parse-errors-3/?output_format=md))[
   function.parse-url]: Unable to parse URL in /home/applewoo/public_html/wp-content/
   plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 
   1157
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/applewoo/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/
   page_post_redirect_plugin.php:1157) in /home/applewoo/public_html/wp-admin/post.
   php on line 233
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/applewoo/public_html/wp-content/plugins/quick-pagepost-redirect-plugin/
   page_post_redirect_plugin.php:1157) in /home/applewoo/public_html/wp-includes/
   pluggable.php on line 896
 * Tried removing and reinstalling the plugin.
 * Thanks for any help.
 * [https://wordpress.org/plugins/quick-pagepost-redirect-plugin/](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)

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

 *  [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800545)
 * I have the same problem, i still wait for one answer !
 *  Thread Starter [SiteSubscribe](https://wordpress.org/support/users/sitesubscribe/)
 * (@sitesubscribe)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800617)
 * Getting the parse errors on all of my sites now.
 * I wonder if the developer is going to respond, or if I should replace this plugin?
 *  [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800619)
 * I go back to version 5.0.3, and i wait the next version, i can’t work like that.
 *  [Innervates](https://wordpress.org/support/users/innervates/)
 * (@innervates)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800621)
 * I’m also getting parse errors…
 * two things happening, the plugins page in the administration dashboard is very
   slow to load now.
 * Whenever I update a page or post – it gives me a blank white page, with the following
   parse errors
 *     ```
       Warning: parse_url(http://) [function.parse-url]: Unable to parse URL in /home/ovcweb/public_html/onevoiceinc.com/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 1157
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/ovcweb/public_html/onevoiceinc.com/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php:1157) in /home/ovcweb/public_html/onevoiceinc.com/wp-admin/post.php on line 233
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/ovcweb/public_html/onevoiceinc.com/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php:1157) in /home/ovcweb/public_html/onevoiceinc.com/wp-includes/pluggable.php on line 896
       ```
   
 * any insight on fixing this would be great – I don’t see any errors on my actual
   pages for visitors, which is good – but it could be somewhere I don’t see…
 * Thank you
 *  [Nate Zander](https://wordpress.org/support/users/mtnporcupine/)
 * (@mtnporcupine)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800627)
 * I can confirm I am also getting this bug with 5.0.5, while on my development 
   site (Hostgator). My live sites are fine.
 *  [wizzud](https://wordpress.org/support/users/wizzud/)
 * (@wizzud)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800632)
 * I, too, had this problem, and I determined that (in my case) the url being given
   to the appip_parseURI() method was an empty string, which resulted in parse_url()
   attempting to parse “[http://&#8221](http://&#8221); and bombing out.
 * My solution was to edit page_post_redirect_plugin.php and insert the following
   line of code at line 1148 (the first executable line of appip_parseURI())…
 *     ```
       if( $url == '' ){ return array( 'url' => $url ); }
       ```
   
 * My usage of this plugin is very limited (a single redirect), but this at least
   allowed me to edit posts/pages again without getting these errors!
 * [ The appip_parseURI() method is only called from one place in the class, and
   on its return, the ‘url’ element of the returned array is assigned to a “my_meta_data”
   array, escaped as a raw url, and then tested as being equal to http[s]:// or 
   an empty string … at which point it is deemed non-applicable and the post meta
   is cleared down. ]
 *  [sw](https://wordpress.org/support/users/shawnwyatt-1/)
 * (@shawnwyatt-1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800635)
 * Be careful on the down-grade, see this:
 * [http://www.wordfence.com/blog/2014/04/vulnerabilities-in-wordpress-older-than-3-8-2-twitget-plugin-and-quick-page-post-redirect-plugin/](http://www.wordfence.com/blog/2014/04/vulnerabilities-in-wordpress-older-than-3-8-2-twitget-plugin-and-quick-page-post-redirect-plugin/)
 * **Where:**
 * **Plugin Vulnerability: **Quick Page/Post Redirect Plugin contains a CSRF and
   stored XSS vulnerability. Vulnerability ID is: CVE-2014-2598 (not yet published)
 * **What to do: **Upgrade to version 5.0.5 or later. Author is aware of vulnerability
   and has fixed it.
 *  [sw](https://wordpress.org/support/users/shawnwyatt-1/)
 * (@shawnwyatt-1)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800636)
 * Oh…and I get the same error after I post. Not sure if I want to edit the plugin
   per wizzud, but that’s awesome you found a work-around.
 *  [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * (@robert-cadar)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800644)
 * I solved with the answer from this post! [http://wordpress.org/support/topic/post-error-after-install-quick-pagepost-redirect-plugin?replies=2](http://wordpress.org/support/topic/post-error-after-install-quick-pagepost-redirect-plugin?replies=2)

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

The topic ‘parse errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-pagepost-redirect-plugin_8d7b6f.
   svg)
 * [Quick Page/Post Redirect Plugin](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/reviews/)

## Tags

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

 * 9 replies
 * 6 participants
 * Last reply from: [Robert Cadar](https://wordpress.org/support/users/robert-cadar/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/parse-errors-3/#post-4800644)
 * Status: not resolved