Title: theApe's Replies | WordPress.org

---

# theApe

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/theape/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/theape/replies/page/3/?output_format=md)…
[10](https://wordpress.org/support/users/theape/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/theape/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/theape/replies/page/12/?output_format=md)
[→](https://wordpress.org/support/users/theape/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Index WP Users For Speed] 1.1.9 non-functioning](https://wordpress.org/support/topic/1-1-9-non-functioning/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/1-1-9-non-functioning/#post-18133033)
 * I’ve solved that error and it’s no longer an issue.
   I had `$taxonomies = '';`
   instead of `$taxonomies = array();` in one of my CPTs.It’s not made any difference
   to the user indexing function. I’ll have to keep looking.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Index WP Users For Speed] 1.1.9 non-functioning](https://wordpress.org/support/topic/1-1-9-non-functioning/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/1-1-9-non-functioning/#post-18133011)
 * Yeah, I’ve had that error “Invalid argument supplied for foreach()” for a while,
   and so far I’ve not been able to pinpoint the cause. But it’s not impacted the
   functionality of the site so far.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Index WP Users For Speed] 1.1.9 non-functioning](https://wordpress.org/support/topic/1-1-9-non-functioning/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/1-1-9-non-functioning/#post-18132340)
 * Hi Ollie,
 * For the wp option list –search command, this is what I’m getting.
 *     ```wp-block-code
       PHP Warning:  Invalid argument supplied for foreach() in /home/virtual/.../public_html/wp-includes/class-wp-post-type.php on line 763Warning: Invalid argument supplied for foreach() in /home/virtual/.../public_html/wp-includes/class-wp-post-type.php on line 763+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| option_name                                               | option_value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| index-wp-users-for-speed-options                          | a:3:{s:12:"auto_rebuild";s:2:"on";s:12:"rebuild_time";s:5:"00:26";s:25:"quickedit_threshold_limit";s:2:"10";}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             || index-wp-users-for-speed-task-count-users_1               | O:31:"IndexWpUsersForSpeed\CountUsers":7:{s:8:"taskName";s:12:"CountUsers_1";s:9:"lastTouch";i:1731506471;s:16:"fractionComplete";i:0;s:8:"useCount";i:0;s:8:"hookName";s:29:"index_wp_users_for_speed_task";s:6:"siteId";i:1;s:7:"timeout";i:0;}                                                                                                                                                                                                                                                                                                                                                         || index-wp-users-for-speed-task-get-editors_1               | O:31:"IndexWpUsersForSpeed\GetEditors":7:{s:8:"taskName";s:12:"GetEditors_1";s:9:"lastTouch";i:1731506471;s:16:"fractionComplete";i:0;s:8:"useCount";i:0;s:8:"hookName";s:29:"index_wp_users_for_speed_task";s:6:"siteId";i:1;s:7:"timeout";i:0;}                                                                                                                                                                                                                                                                                                                                                         || index-wp-users-for-speed-task-populate-meta-index-roles_1 | O:43:"IndexWpUsersForSpeed\PopulateMetaIndexRoles":12:{s:9:"batchSize";i:5000;s:9:"chunkSize";i:50;s:12:"currentStart";i:-1;s:5:"roles";a:11:{i:0;s:13:"administrator";i:1;s:6:"editor";i:2;s:6:"client";i:3;s:6:"legacy";i:4;s:6:"member";i:5;s:7:"premium";i:6;s:12:"professional";i:7;s:9:"suspended";i:8;s:5:"agent";i:9;s:7:"deleted";i:10;s:7:"scammer";}s:9:"maxUserId";i:2237;s:8:"taskName";s:24:"PopulateMetaIndexRoles_1";s:9:"lastTouch";i:1731506471;s:16:"fractionComplete";i:0;s:8:"useCount";i:0;s:8:"hookName";s:29:"index_wp_users_for_speed_task";s:6:"siteId";i:1;s:7:"timeout";i:0;} || index-wp-users-for-speed-tasknext-job                     | 1731506473                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                || index-wp-users-for-speed-task-reindex_1                   | O:28:"IndexWpUsersForSpeed\Reindex":7:{s:8:"taskName";s:9:"Reindex_1";s:9:"lastTouch";i:1731501644;s:16:"fractionComplete";i:0;s:8:"useCount";i:0;s:8:"hookName";s:39:"index_wp_users_for_speed_repeating_task";s:6:"siteId";i:1;s:7:"timeout";i:0;}                                                                                                                                                                                                                                                                                                                                                      |+-----------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Index WP Users For Speed] 1.1.9 non-functioning](https://wordpress.org/support/topic/1-1-9-non-functioning/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/1-1-9-non-functioning/#post-18129381)
 * Went for the easiest solution first, deactivate, delete and reinstall. I’m afraid
   that didn’t help. So, I’ve rolled back for the minute. I’m do more troubleshooting
   as time allows, but I’m thinking this may be a conflict of some description. 
   Probably unrelated, but I’m not able to use the latest version of Simple History
   either. They recently did similar (sort of) updates to you, for efficiency.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple History – Track, Log, and Audit WordPress Changes] No events shown after update to 5.0.0](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/page/2/#post-18008270)
 * [@eskapism](https://wordpress.org/support/users/eskapism/) maybe. I’m using NinjaFirewall(
   WP+) [https://wordpress.org/plugins/ninjafirewall/](https://wordpress.org/plugins/ninjafirewall/)
 * But disabling the plugin has not resolved the issue. Is there any additional 
   information you would like or anything you’d like me to try?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple History – Track, Log, and Audit WordPress Changes] No events shown after update to 5.0.0](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/#post-18007836)
 * I tried the update, but I’m still not getting any logs shown, although they are
   being recorded.
 * ![](https://i0.wp.com/www.hireillo.com/simple-hist.png?ssl=1)
 * If I rollback to 4.17.0, it works with no issues.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple History – Track, Log, and Audit WordPress Changes] No events shown after update to 5.0.0](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/no-events-shown-after-update-to-5-0-0/#post-18003523)
 * Same.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Font Awesome] Will Facebook Threads and Twitter X icons be available?](https://wordpress.org/support/topic/will-facebook-threads-and-twitter-x-icons-be-available/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/will-facebook-threads-and-twitter-x-icons-be-available/#post-17007184)
 * I’ve deactivated the plugin and added my own header links. Simple.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Font Awesome] Will Facebook Threads and Twitter X icons be available?](https://wordpress.org/support/topic/will-facebook-threads-and-twitter-x-icons-be-available/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/will-facebook-threads-and-twitter-x-icons-be-available/#post-17007048)
 * I’m looking for this too. May look into the plugins code and see if I can manually
   update it until it’s official.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [502 Bad Gateway when removing close open php tags](https://wordpress.org/support/topic/502-bad-gateway-when-removing-close-open-php-tags/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/502-bad-gateway-when-removing-close-open-php-tags/#post-11772018)
 * I’m still stumped, but I ended up going with this in the end.
 *     ```
       endwhile;
   
       	$prevLink = get_previous_post_link();
       	$nextLink = get_next_post_link();
       	$output = '<div class="adjacent-entry-pagination pagination"><div class="pagination-previous alignleft">' . $prevLink . '</div><div class="pagination-next alignright">' . $nextLink . '</div></div>';
   
       	if ($prevLink != '' || $nextLink != '') :
   
       	 echo $output;
   
       	endif;
   
       else :
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Update Loop…](https://wordpress.org/support/topic/update-loop-3/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [7 years ago](https://wordpress.org/support/topic/update-loop-3/#post-11488358)
 * I have no issues with the premium version of the plugin, that one update without
   any problems. Only the free version got stuck in a loop on the plugin update 
   page.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [4.83 > 4.9 – get_the_author_meta description](https://wordpress.org/support/topic/4-83-4-9-get_the_author_meta-description/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/4-83-4-9-get_the_author_meta-description/#post-9690508)
 * Thanks for the links!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Database Wiped…](https://wordpress.org/support/topic/database-wiped/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/database-wiped/#post-9241188)
 * Yep, it’s the correct database. No unusual rewrite rule, all that was there were
   WP-Super Cache records, which I thought was maybe continuing to causing the white
   page problem as I’d disabled the plugin as a first port of call on the issue.
   This was my thought until I notice the database reset. The date of the sample
   posts on the new blog correspond to the date that the auto-upgrade happened and
   that’s also the date my upgraded core files are marked. So everything is pointing
   to an issue with the upgrade, maybe there was a conflict with one of the plugins
   being used on the site. The site was connected to a Jetpack account, do you think
   that’ll be able to give me anymore insight into the issue?
 * I did grab a load of the written content from Google Cache and all of the images
   were still accessible via the FTP account.
 * If I’m the only one this has happened to, I’m going to chalk this up to… shit
   happens!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextCellent Gallery - NextGEN Legacy] NextCellent Gallery is broken under WordPress 4.7](https://wordpress.org/support/topic/nextcellent-gallery-is-broken-under-wordpress-4-7/)
 *  [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/nextcellent-gallery-is-broken-under-wordpress-4-7/#post-8530627)
 * [@andywilmot](https://wordpress.org/support/users/andywilmot/) Don’t forget to
   make a similar edit line 355 of manage.php
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Modify title-tag based on specific post template file](https://wordpress.org/support/topic/modify-title-tag-based-on-specific-post-template-file/)
 *  Thread Starter [theApe](https://wordpress.org/support/users/theape/)
 * (@theape)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/modify-title-tag-based-on-specific-post-template-file/#post-7182253)
 * After a bit more research I figured it out… and it was staring me in the face.
 * I put this in the top of my custom-header.php file and it does the job.
 *     ```
       function new_title_tag() {
           return 'Manually inserted new title';
       }
       add_filter('pre_get_document_title', 'new_title_tag');
       ```
   
 * I can now customise the title depending on what template file is being used.

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

1 [2](https://wordpress.org/support/users/theape/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/theape/replies/page/3/?output_format=md)…
[10](https://wordpress.org/support/users/theape/replies/page/10/?output_format=md)
[11](https://wordpress.org/support/users/theape/replies/page/11/?output_format=md)
[12](https://wordpress.org/support/users/theape/replies/page/12/?output_format=md)
[→](https://wordpress.org/support/users/theape/replies/page/2/?output_format=md)