Ken Lewis
Forum Replies Created
-
Also, what would happen if Photon encounters a 404 when trying to retrieve an image? Would it just try to cache it the next time the page is loaded or would it cache the image as a broken image?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] JetPack LimitsThat is amazing. I can’t wait to test this.
Forum: Plugins
In reply to: [Back End Instructions] Conflict with wpMandrillI found the issue.
instructions.php 57 /** 58 * I know. I'm sorry. 59 */ 60 61 if( !function_exists('wp_set_current_user') ) { 62 require(ABSPATH . WPINC . '/pluggable.php'); 63 }
This causes wp_mail (and a lot of other functions) to be declared before it should.
Since I don’t know why you did this, I don’t know how to fix it. I’d be happy to try to help you fix it if you can let explain why you need that code there.
Forum: Plugins
In reply to: [WP Activity Log] .htaccess file corruptionIt must be a conflict between the 2 plugins. It only occurs when both are active. This is frustrating as I have been fighting this issue for weeks. Here is more information.
1) The .htaccess file is modified every couple of seconds after both plugins are activated and an initial Wordfence scan has started.
2) This continues to happen as long as you stay on the Wordfence admin page (even after the scan is over).
3) If I navigate away from the Wordfence admin area, the .htaccess file is only modified when I change pages in the admin area.
I am going to link this information to Wordfence also so someone can figure out why this is occuring.
Forum: Plugins
In reply to: [WP Activity Log] .htaccess file corruptionIn my case, it sometimes rewrites that section removing extra line space and line returns. Other times it puts stray characters into the area. Here are a few examples:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress BEGIN Test area # END Test area
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine OnRewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RRewriteRule . /index.php [L] </IfModule> # END WordPress # BEGIN Test area # END Test area
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress s # BEGIN Test area # END Test area
This is an update to help troubleshoot the issue.
Here is my code that’s running when it fails:
$page_args = array( 'parent' => 50, 'depth' => -1, 'hierarchical' => 0 ); $page_args = get_pages( $args );
I have further debugged the code to see that it’s failing in includes/post.php, line 3906. This is where it’s applying the ‘get_pages’ filter:
$pages = apply_filters('get_pages', $pages, $r);
I hope this helps narrow down the errant code. If you have something you want to test or a specific place to debug, please let me know. I am anxious to help get this fixed.
I have 2 sites and their respective development sites that use AAM.
The site that does NOT load all the way shows all my users and groups in AAM. The site that is not broken by AAM does not show any users or groups in AAM.
Without completely debugging your code and learning how everything works in it, I can’t tell you what is the exact cause of the issues. I can tell you that it is all stemming from working with non-objects and trying to do things with them that require objects.
Do you have a way to clear out all the AAM settings and start fresh? While this isn’t the best option, I am willing to use it just so that I can get AAM working on my sites again.
Thanks in advance.
I have reverted to 2.0 but none of the users or access groups show. I guess there was a DB change.
I just updated to the development version and now you have the error: Call to a member function has() on a non-object at aam.php, line 250.
Forum: Fixing WordPress
In reply to: Sidebar selection option in themeJust copy your existing page.php rename it and put this at the top:
/** * Template Name: Template with sidebar 2 */
and then swap out the sidebar for another one.
Then for the page you want the sidebar, select the template above.
Forum: Fixing WordPress
In reply to: Can't get Custom Post Type posts?What have you tried?
Forum: Fixing WordPress
In reply to: Chrome erroneously saying my site is Spanish.Put this in your <head></head>:
<meta name=”google” value=”notranslate” />
<meta http-equiv=”Content-Language” content=”en” />Forum: Fixing WordPress
In reply to: Change color of one menu itemEach menu item has it’s own “menu-item-###” id. Assign your CSS to that id.
Forum: Fixing WordPress
In reply to: Sidebar selection option in themeAre you wanting one sidebar on one page and a different sidebar on another?
If so, then you are going to need to make a template for the new sidebar and assign the new template to the pages that requires the new sidebar.
Forum: Fixing WordPress
In reply to: content="text/html; charset=UTF-8" />A link to the page would be helpful to troubleshoot the issue.