philip2041
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsThat’s great! I’m looking forward to the new release.
Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsHi Ajay,
I just tested the beta version, the thumbnails now have the lazy load attribute added! I’m really happy to see the attribute showing! You’ve been a lifesaver, thanks so much!
Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsMaybe something is wrong with my theme or other settings.
And great to hear that a new version is coming! I will try the beta version when I have time.
Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsI disabled all other plugins, and the issue persists, the code of the image is like this:
<img width="150" height="150" src="https://mydomain.com/wp-content/uploads/2025/07/img-name-150x150.jpg" class="crp_featured crp_thumb thumbnail" alt="image-alt-text" style="" title="post title">Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsThanks for the info, I will try to deactivate each plugin on my site to find out which plugin conflicts with it.
Forum: Plugins
In reply to: [Contextual Related Posts] Adding lazy load attribute to thumbnailsI have temporarily deactivated the plugin since it increases loading time without lazy load. I think it’s not because of plugin confliction, maybe lazy load is not a in-built feature of your plugin?
Hi @kokkieh ,
No, I don’t see anything broken either on the front end or dashboard.
So I see, I don’t need to worry about that notification, it’s not really an error.
Thanks for your help!
Hi @lizkarkoski,
Sorry I forgot to provide the URL: https://thetowerinfo.com
And below is the full details about the error from that automated Email.
Error Details
==============
An error of type E_ERROR was caused in line 270 of the file /home/cpanel-username/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php. Error message: Uncaught Error: Class ‘Automattic\Jetpack\Roles’ not found in /home/cpanel-username/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php:270
Stack trace:
#0 /home/cpanel-username/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php(239): Automattic\Jetpack\Sync\Listener->get_actor(‘jetpack_plugins…’, Array)
#1 /home/cpanel-username/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php(114): Automattic\Jetpack\Sync\Listener->enqueue_action(‘jetpack_plugins…’, Array, Object(Automattic\Jetpack\Sync\Queue))
#2 /home/cpanel-username/public_html/wp-includes/class-wp-hook.php(288): Automattic\Jetpack\Sync\Listener->action_handler(Array, Array)
#3 /home/cpanel-username/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#4 /home/cpanel-username/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/cpanel-username/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/Plugins.php(168):==============
Please help me check the problem, thanks!
Hi @sterndata,
Sorry for the late response, I was away.
Now it works after the priority is changed to 99, so it’s all because the plugin uses a really high priority. Thank you so much for your help!
I’m a beginner on coding, without your help I think I can’t find the plugin’s code you found for me, it has so much lines and is too complicated to me! You helped me a lot, thanks again!
Hi @sterndata,
Thanks for your answer, but your method doesn’t work, I tried adding the numbers like 20, 30, 40 to add_action(), all don’t work.
OK, I will ask AddtoAny’s developers for help, though it may take quite a long time to get a reply in plugins’ support forums.
Hi @gejay,
After I used your method, I waited for about two weeks, only found Google still displays publish date, not update date.
Then I edited template-tags.php to put the code of Update Date in front of Publish Date, as in that way the Update Date will be the first date seen by search engines, so I thought that will work, but the date shown on Google was still publish date after I waited for another week.
Then I checked the source code of my web page, and found that a plugin called Yoast SEO adds publish date to the head section in a meta tag, I think it might be that plugin affecting the decision of search engine about the date of post, so I disabled the plugin, and waited for another few days. But still nothing changes on the date shown on search engine.
At last, I removed the code of publish date in template tags.php, and this time, search engine stopped showing Publish Date of my post, and after a few days it started showing Update Date for my posts.
So my problem is solved, thanks for all your helps!
Forum: Fixing WordPress
In reply to: Can’t Update To WordPress 5.2 because of PHP versionHi @sterndata,
Thanks, I will try to contact my host again.
Forum: Fixing WordPress
In reply to: Can’t Update To WordPress 5.2 because of PHP versionHi @kartiks16,
The phpinfo.php page tells me that my site is running on PHP 5.4, same as what is told by the notice on WordPress Update panel.
Is this implying that something is wrong on my host?
Thanks!Forum: Fixing WordPress
In reply to: Can’t Update To WordPress 5.2 because of PHP versionHi @sterndata,
I’ve contacted them once, they told me the host environment is PHP 7.3. Now I think I should contact them again.
Thanks for your help.Forum: Fixing WordPress
In reply to: Can’t Update To WordPress 5.2 because of PHP versionHi @sterndata ,
1. Yeah it maybe not the case, however, I found that the .htaccess file can be used to change PHP version, here is an article about changing PHP version in .htaccess file:
https://www.siteground.com/kb/how_to_have_different_php_versions/It says the PHP version can be changed to PHP 7 by adding this line:
AddHandler application/x-httpd-php70 .php .php5 .php4 .php3But my MultiPHP Manager already indicates I’m running PHP 7, I don’t know whether adding that code will work.
2. No I don’t see php.ini file in my site root, what does the file do?
Thanks!
- This reply was modified 6 years, 11 months ago by philip2041.