jordanmc
Forum Replies Created
-
That worked thank you
Forum: Plugins
In reply to: [Redis Object Cache] Redis server went awayWouldn’t using the local WP server actually be faster? Or is it better to use a remote server? I have a Redis server in Azure I can use.
Thanks
Forum: Plugins
In reply to: [Redis Object Cache] Redis server went awayFor now, I am just got to use the local server. I tried to update PhpRedis but it didn’t work and I am not familiar with Linux itself as I had used a Docker container that contained WP, etc.
Forum: Plugins
In reply to: [Redis Object Cache] Redis server went awayI haven’t tried to connect to Redis from my computer.
I was connecting to my redis server from the WordPress server via redis-cli.
My diagnostics output isn’t showing anything more but here is the full output again.
I tried updating PhpRedis but it does not appear to be showing any updated version. Not sure if that would help anyway.There is a firewall but it isn’t blocking anything right now and I can connect via SSH from the WP Server.
Status: Not connected
Client: PhpRedis (v3.1.2)
Drop-in: Valid
Disabled: No
Filesystem: Working
Ping:
Connection Exception: Redis server went away (RedisException)
Errors: [
“Redis server went away”
]
PhpRedis: 3.1.2
Predis: Not loaded
Credis: Not loaded
PHP Version: 7.2.13
Plugin Version: 2.0.13
Redis Version: Unknown
Multisite: No
Global Prefix: “wp_”
Blog Prefix: “wp_”
WP_REDIS_CLIENT: “pecl”
WP_REDIS_SCHEME: “tls”
WP_REDIS_HOST: “blog.redis.cache.windows.net”
WP_REDIS_PORT: “6380”
WP_REDIS_DATABASE: “0”
WP_REDIS_PREFIX: “wordpressheadless.azurewebsites.net”
WP_CACHE_KEY_SALT: “wordpressheadless.azurewebsites.net”
WP_REDIS_PASSWORD: ????????
Global Groups: [
“blog-details”,
“blog-id-cache”,
“blog-lookup”,
“global-posts”,
“networks”,
“rss”,
“sites”,
“site-details”,
“site-lookup”,
“site-options”,
“site-transient”,
“users”,
“useremail”,
“userlogins”,
“usermeta”,
“user_meta”,
“userslugs”,
“redis-cache”
]
Ignored Groups: [
“counts”,
“plugins”,
“themes”,
“blog-details”,
“blog-id-cache”,
“blog-lookup”,
“global-posts”,
“networks”,
“rss”,
“sites”,
“site-details”,
“site-lookup”,
“site-options”,
“site-transient”,
“users”,
“useremail”,
“userlogins”,
“usermeta”,
“user_meta”,
“userslugs”,
“redis-cache”,
“blog_meta”
]
Unflushable Groups: []
Drop-ins: [
“Redis Object Cache Drop-In v2.0.13 by Till Krüss”
]Forum: Plugins
In reply to: [Redis Object Cache] Redis server went awayPHP errors below. Says name cannot resolve which is interesting to me since I can connect via this command:
redis-cli -h blog.redis.cache.windows.net -p 6380 -a password
#8 {main}
[07-Sep-2020 17:37:20 UTC] PHP Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name does not resolve in /home/site/wwwroot/wp-content/object-cache.php on line 574
[07-Sep-2020 17:37:20 UTC] PHP Warning: Redis::connect(): connect() failed: php_network_getaddresses: getaddrinfo failed: Name does not resolve in /home/site/wwwroot/wp-content/object-cache.php on line 574
[07-Sep-2020 17:37:20 UTC] RedisException: Redis server went away in /home/site/wwwroot/wp-content/object-cache.php:578
Stack trace:Forum: Plugins
In reply to: [Yoast SEO] Getting yoast values in child theme functions.phpThanks, I figured it out. For example:
$seo = array(); // https://developer.yoast.com/blog/yoast-seo-14-0-using-yoast-seo-surfaces/ $robots = YoastSEO()->meta->for_post($post->ID)->robots; $meta = YoastSEO()->meta->for_post($post->ID); // Get data $seo = array( 'title' => trim(YoastSEO()->meta->for_post($post->ID)->title), 'metaDesciptionText' => trim(YoastSEO()->meta->for_post($post->ID)->description), 'metaKeywordsText' => trim(get_post_meta($post->ID, '_yoast_wpseo_focuskw', true)), //'metaKeywordsText' => trim(get_post_meta($post->ID, '_yoast_wpseo_metakeywords', true)), 'twitterCardType' => trim(YoastSEO()->meta->for_post($post->ID)->twitter_card), 'canonical' => trim(YoastSEO()->meta->for_post($post->ID)->canonical), ); $myObj->seo = $seo;
Forum: Plugins
In reply to: [Easy Table of Contents] Getting TOC in functions.php / save_postFigured it out. I only had 3 not 4 H1s. I changed it to minimum of 1 H1 and it worked.
@publishpress sorry to be a pest but I just bought the Agency version since I am on a tight timeline to get this figured out. The only issue, is that I can’t quite say I can fully use it until we work through my questions and scenarios.
Ok thanks. If those items do end up working , I am planning to buy the Pro so I can use custom fields, for things like Linked In urls, etc.
@publishpress thanks but if that is the case, how come querying by “authorName” which is nicename is working?
https://files.slack.com/files-pri/T3PDM1KRC-F01352NQ5UH/image.png
that worked
@andergmartins I see – I have 12.4. Is Yoast required? I don’t actually need it. I can remove it.
Will that be ok?
Thanks
Anything I can check here @publishpress?
Forum: Plugins
In reply to: [Microsoft Azure Storage for WordPress] Bulk upload all media libraryOr even if not bulk upload, how do you get existing media loaded into Azure?
Forum: Plugins
In reply to: [Microsoft Azure Storage for WordPress] Wrong upload path for remainning pathso if they never fixed this, then it looks like this plugin has no support at all?