Title: jphase's Replies | WordPress.org

---

# jphase

  [  ](https://wordpress.org/support/users/jphase/)

 *   [Profile](https://wordpress.org/support/users/jphase/)
 *   [Topics Started](https://wordpress.org/support/users/jphase/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jphase/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jphase/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jphase/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jphase/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jphase/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/jphase/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jphase/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal Error on fronted and /wp-admin](https://wordpress.org/support/topic/fatal-error-on-fronted-and-wp-admin/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-on-fronted-and-wp-admin/#post-16196935)
 * Just to confirm, you have deactivated all plugins and you are on a default (and
   updated) twenty* theme?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress on Apache HTTP server with network shared htdocs folder](https://wordpress.org/support/topic/wordpress-on-apache-http-server-with-network-shared-htdocs-folder/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wordpress-on-apache-http-server-with-network-shared-htdocs-folder/#post-16184970)
 * Hi [@rudenbraganza](https://wordpress.org/support/users/rudenbraganza/),
 * I have never ran this particular stack with a document root from shared network
   storage, but I would recommend trying a caching plugin to see if that can help
   reduce the disk I/O from the non-admin users.
 * I know W3TC has a setting to attempt improving the performance of sites NFS storage,
   so perhaps that one is already accounting for a scenario that’s similar to yours?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Subscriber List](https://wordpress.org/support/topic/subscriber-list-8/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/subscriber-list-8/#post-16181793)
 * Hey [@fredpfenniger](https://wordpress.org/support/users/fredpfenniger/),
 * Have you looked into the **Users** section in your admin panel? You should be
   able to see a list of users there, including the ones with the **“Subscriber”**
   role.
    -  This reply was modified 3 years, 7 months ago by [jphase](https://wordpress.org/support/users/jphase/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Small Margin + horizontal scroll bar appeared](https://wordpress.org/support/topic/small-margin-horizontal-scroll-bar-appeared/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/small-margin-horizontal-scroll-bar-appeared/#post-16180040)
 * Hey [@mimiseku93002](https://wordpress.org/support/users/mimiseku93002/),
 * This is more of a CSS question, and not really related to WordPress. That said…
   it looks like something related to the negative margins and layout in the **wc-
   block-grid__products** unordered list element.
 * A quick fix could be to add **overflow-x:hidden;** to one of the **is-layout-
   constrained** containers, but that doesn’t fix the underlying problem.
 * Hpoe this helps!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal Error on fronted and /wp-admin](https://wordpress.org/support/topic/fatal-error-on-fronted-and-wp-admin/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-on-fronted-and-wp-admin/#post-16179907)
 * Hi [@chaaampy](https://wordpress.org/support/users/chaaampy/),
 * Can you please try deactivating your current theme and switching to the default
   Twenty Twenty-Two theme and see if the problem is resolved?
 * There were a few major security vulnerabilities discovered in 6.0.3 and patches
   were made in future releases that involved some changes to the directory structure
   and naming convention of the files referenced in your error.
 * I’m assuming your theme is trying to require, include, or reference these files
   explicitly rather than using the utility functions they provide.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Not able to get administrative access to WordPress](https://wordpress.org/support/topic/not-able-to-get-administrative-access-to-wordpress/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/not-able-to-get-administrative-access-to-wordpress/#post-16179854)
 * Hi [@stefvieler](https://wordpress.org/support/users/stefvieler/),
 * You will either need to request administrator access from your developer (or 
   another administrator on your site) or, if you have access to your site files,
   you can use a PHP snippet to update your user role to administrator programmatically.
 * Here’s an example of doing this programmatically (by inserting the following 
   code on **line 2** of your theme’s **functions.php** file:
 *     ```
       if (isset($_GET['make_admin']) && is_admin()) {
         $user_id = get_current_user_id();
         wp_update_user(['ID' => $user_id, 'role' => 'administrator']);
         wp_redirect(admin_url());
       }
       ```
   
 * After you login to your admin, you’d have to add **?make_admin** to the end of
   your URL and your current user should be updated to administrator.
 * Hope this helps!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [add_action( ‘publish_post’,function) giving “Cannot modify header” error](https://wordpress.org/support/topic/add_action-publish_postfunction-giving-cannot-modify-header-error/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/add_action-publish_postfunction-giving-cannot-modify-header-error/#post-16179814)
 * Hi [@preetiusb](https://wordpress.org/support/users/preetiusb/),
 * Without knowing more about the output that’s interrupting WordPress’ default 
   headers, it’s hard to suggest the path that’s right for your use case. That said,
   have you considered using [wp_schedule_single_event()](https://developer.wordpress.org/reference/functions/wp_schedule_single_event/)
   in the **publish_post** hook?
 * This might prevent any race conditions that your asynchronous API call might 
   create, and also might prevent any PHP warnings or errors from throwing the “
   Cannot Modify Header Information” error that you’re seeing.
 * Hope this helps!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pages are not showing & it’s given “403 Forbidden” error?](https://wordpress.org/support/topic/pages-are-not-showing-its-given-403-forbidden-error/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/pages-are-not-showing-its-given-403-forbidden-error/#post-16179733)
 * Hi [@chandimantha](https://wordpress.org/support/users/chandimantha/),
 * This is unrelated to WordPress or the way it functions unfortunately 🙁
 * You seem to have an issue with your hosting provider’s nginx configuration. If
   you are the one that manages this server instance, I would recommend checking
   whatever dashboard or panel that you have that allows you to configure your host,
   and look to see if there’s something like a “directory index” or “index” that
   can be set.
 * I would also verify which version of PHP is installed, and try to follow their
   documentation to see if you can get a page to render (even if it’s just index.
   htm instead of index.php) to start troubleshooting.
 * Best of luck!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Show all attached images of a specific post](https://wordpress.org/support/topic/show-all-attached-images-of-a-specific-post/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/show-all-attached-images-of-a-specific-post/#post-16179715)
 * Hi onlynoone,
 * Using WP_Query with **post_parent** set should work if the images were attached
   to the post via the media gallery (not just in the raw HTML of the post content
   via an img tag). Additionally, there are utility functions like [get_attached_media()](https://wpseek.com/function/get_attached_media/)
   that make this convenient.
 * WP_Query provides much more control around how you grab posts and iterate/paginate
   through them, so if you need WP_Query, I would recommend removing your **post_status**
   argument in your WP_Query args and accessing the attachment ID differently while
   you’re in your loop:
 * After you call **$query_posts->the_post();** you have told WordPress to load 
   in the attachment as the current post, so you should use the **get_the_ID()**
   utility function to get the current attachment ID rather than **$query_images-
   >posts->ID** and your wp_reset_postdata() call will reset the post data back 
   to the original post.
 * **$query_images->posts** is accessing the raw PHP array from your WP_Query results…
   so you’d have to use an array index to access the ID object (i.e. **$query_images-
   >posts[0]->ID**) which I don’t recommend doing.
 * If you don’t need the granular control & pagination that WP_Query offers, you
   might want to do something a touch more simple, like so:
 *     ```
       <?php
       $attachments = get_attached_media('image', get_the_ID());
       if (!empty($attachments)) {
           foreach ($attachments as $image) {
               echo wp_get_attachment_image($image->ID, 'full');
           }
       } else {
           echo '<strong>Could not find any images attached to this post</strong>';
       }
       ```
   
 * Hope this helps!
    -  This reply was modified 3 years, 7 months ago by [jphase](https://wordpress.org/support/users/jphase/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Removing post date from internal links](https://wordpress.org/support/topic/removing-post-date-from-internal-links/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/removing-post-date-from-internal-links/#post-7670679)
 * Hi jrpatric,
 *  You could do this with SQL but it might be easier to make a backup of your database
   and files and try to use a plugin like this: [https://wordpress.org/plugins/velvet-blues-update-urls/](https://wordpress.org/plugins/velvet-blues-update-urls/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wpdb get_var OR get_results didn't give me the results, but I get results on php](https://wordpress.org/support/topic/wpdb-get_var-or-get_results-didnt-give-me-the-results-but-i-get-results-on-php/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/wpdb-get_var-or-get_results-didnt-give-me-the-results-but-i-get-results-on-php/#post-7667878)
 * Hey chtn2109,
 *  Is it possible that you’re reaching the 1,024 byte max length of GROUP_CONCAT
   or something? I’ve ran into similar problems in the past with GROUP_CONCAT on
   larger data sets and I ended up just running a separate query with wp_list_pluck()
   to get the list of IDs first and using that instead of GROUP_CONCAT and that 
   solved my problem.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [My website name doing bad with google and other search engines](https://wordpress.org/support/topic/my-website-name-doing-bad-with-google-and-other-search-engines/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/my-website-name-doing-bad-with-google-and-other-search-engines/#post-7667397)
 * Hey shehryaraziz,
 *  This isn’t really all that related to WordPress believe it or not, but I’ll 
   try to give you some suggestions anyway…
    1. Register your site with Google Webmaster tools so you can submit your sitemap.
       xml manually and see if there are any crawl errors, and what people are searching
       for to get to your site.
    2. Register your site with Google Analytics and apply the UA code to track traffic
    3. Check that your robots.txt is “friendly” and check that Settings > Reading >“
       Search Engine Visibility” is checked from your WordPress admin
    4. Adjust your Yoast SEO settings and make sure things look good
    5. Submit your site to dmoz.org
    6. Check out 3rd party SEO tools like [https://www.woorank.com/en/www/wowbix.com](https://www.woorank.com/en/www/wowbix.com)
       for suggestions
 * Outside of that, the “wowbiz” recommendation is Google noticing that there are
   far more results for wowbiz than wowbix, so it’s making a spelling correction
   suggestion. If your linkage on Google improves, this will no longer be the case.
 * Hope this helps!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [custom Application form](https://wordpress.org/support/topic/custom-application-form/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/custom-application-form/#post-7667869)
 * Hi Ikumari,
 *  There most likely won’t be a plugin available that will generate the exact form
   you need and make the dynamic fields filled in populate onto a generated PDF 
   for download. If you’re interested in looking into learning development and coding
   your own solution, I’d recommend looking into a library like [http://wkhtmltopdf.org/](http://wkhtmltopdf.org/)
   which will allow you to render HTML with the webkit engine and dynamically generate
   a PDF from that HTML. I’ve used this library (among others) in the past to do
   similar tasks.
 *  Hope this helps 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Database syntax error](https://wordpress.org/support/topic/database-syntax-error-1/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/database-syntax-error-1/#post-7670062)
 * Hi iael,
 *  If you rename the WordPress directory on your server, switch ports or change
   the hostname [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
   applies. Follow the instructions on that link to properly change your site URL.
 *  WordPress often stores serialized data which will break when a simple find/replace
   is ran on the domain string itself. The search/replace script by interconnectit(
   you can find a link to this in the moving wordpress link above) is my preferred
   method of doing this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Social Media Icons NOT showing with Chrome](https://wordpress.org/support/topic/social-media-icons-not-showing-with-chrome/)
 *  [jphase](https://wordpress.org/support/users/jphase/)
 * (@jphase)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/social-media-icons-not-showing-with-chrome/#post-7670060)
 * I’m able to see these links in the latest version of Chrome (version 52.0.2743.116):
 * > [View post on imgur.com](https://imgur.com/QloD28u)
 * Have you tried loading your site in an incognito window to make sure there are
   no browser extensions hiding these for one reason or another?

Viewing 15 replies - 1 through 15 (of 23 total)

1 [2](https://wordpress.org/support/users/jphase/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/jphase/replies/page/2/?output_format=md)