Title: [Plugin: Google Doc Embedder] Problems Displaying ppt file
Last modified: August 20, 2016

---

# [Plugin: Google Doc Embedder] Problems Displaying ppt file

 *  Resolved [erickreno](https://wordpress.org/support/users/erickreno/)
 * (@erickreno)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-google-doc-embedder-problems-displaying-ppt-file/)
 * I am getting a warning when I try and embed a PowerPoint presentation:
 * Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown 
   option bit(s) set at offset -1 in /home/ftpacct/public_html/wp-includes/shortcodes.
   php on line 257
 * Has anyone else received such warning and figured out the issue?
 * Thanks,
    Erick
 * [http://wordpress.org/extend/plugins/google-document-embedder/](http://wordpress.org/extend/plugins/google-document-embedder/)

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

 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-google-doc-embedder-problems-displaying-ppt-file/#post-3121308)
 * Hi Erik,
 * What is the shortcode you’re using? (If it’s private, send a support request 
   via the support link in your plugin list or in the footer of the settings page.)
 * It looks like the shortcode is malformed in some way. Ensure by using the “HTML”
   tab in the editor (“Text” tab in WP 3.5 beta) that there are no strange characters
   or link tags, etc. that may not be visible in the visual editor.
 * Kevin
 *  Thread Starter [erickreno](https://wordpress.org/support/users/erickreno/)
 * (@erickreno)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-google-doc-embedder-problems-displaying-ppt-file/#post-3121310)
 * Hi Kevin,
 * Thanks for looking into this, I’m sure it’s something I’m doing wrong, just can’t
   figure it out.
 * Here is my shortcode from HTML:
 * [gview file=”[http://www.saintmaryschs.org/wp-content/uploads/Gettysburg.ppt”%5D](http://www.saintmaryschs.org/wp-content/uploads/Gettysburg.ppt”%5D)
 * It ‘feels’ to me like it is a php issue, my hosting company updated their PHP
   to the latest version recently and since then I’ve been having similar problems
   with photo captions. (WP is current version)
 * Erick
 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-google-doc-embedder-problems-displaying-ppt-file/#post-3121317)
 * I don’t think it’s anything you’re doing wrong, provided your shortcode is exactly
   as you pasted it above. That shortcode works fine on my site (latest WP, as well).
 * [http://www.davistribe.org/gde/test/](http://www.davistribe.org/gde/test/)
 * Sounds like you may either have a PHP issue with your hosting provider, or could
   do with a “repair install” of wordpress (Dashboard > Updates > Reinstall Now).
 * Hope that helps,
 * Kevin

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

The topic ‘[Plugin: Google Doc Embedder] Problems Displaying ppt file’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-document-embedder_484848.svg)
 * [Google Doc Embedder](https://wordpress.org/plugins/google-document-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-document-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-document-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-document-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-document-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-document-embedder/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [k3davis](https://wordpress.org/support/users/k3davis/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-google-doc-embedder-problems-displaying-ppt-file/#post-3121317)
 * Status: resolved