bond138
Forum Replies Created
-
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] Break the site since WP 5.6This may be a workaround until the developer updates the plugin.
Forum: Fixing WordPress
In reply to: Image Caption Poorly Placed on Page – Gutenberg Annoyance@mwarbinek I understood what you meant in your first posting and screenshot.
@otto42 is incorrect when he states “At every point, what you saw in the editor was what you got in the final form”
When I insert an image in the editor the caption is shown centered under the image. When I preview the page the caption is centered on the page not the image.
Like @mwarbinek I have to fiddle with the image dimensions to get the caption to center under the image. In my view the editor is not working correctly.
Thanks for getting back to me Matt.
I have changed host again since my last post.
I experienced the same issue but this time technical support knew what to do. At my new host the memory limit was set to 32MB, possibly by default in –
PHP Configuration File (php.ini): /opt/cpanel/ea-php71/root/etc/php.ini
This seemed to override the local setting, which is something you suggested in your earlier post. It’s all working now, thank you.
Regards
Peter
Thanks Matt
I passed the information on to my host.
They have said the server is set correctly to 512MB, they have now set it to -1.
To be honest I have had this issue with another host.
They are asking if you have tested PHP 7 yourself on CloudLinux/CageFS?
I’ve also noticed that the Wordfence System Info for PHP is misreporting the available memory as 128M (local) -1 (master).
phpinfo on the server reports -1 for both local and master.
Could this be an issue with Wordfence misreporting the memory available?
Thanks
Peter
- This reply was modified 8 years, 1 month ago by bond138. Reason: Added additional infomation on PHP system info
I’m also getting a similar error when trying to login on all sites that auto updated to 6.2.4 :
Fatal error: Call to a member function get_error_code() on a non-object in /home/domain/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 1707
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerMe too, thank you Frank.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerHi Frank
You will be pleased to know it’s working now. It was may fault I’m afraid to say.
I cut part of the code out of the helper example and part from the thread relating to the issue with the Beaver plugin. In doing this I missed the closing tag for the REM statement hence the helper plugin even though activated it did nothing.
So to clarify this works perfectly –
/* autoptimize_filter_noptimize: stop autoptimize from optimizing, if user is logged in @return: boolean, true or false */ add_filter('autoptimize_filter_noptimize','visual_noptimize',10,0); function visual_noptimize() { if (is_user_logged_in()) { return true; } else { return false; } }
Please accept my apologies for this and thank you for being so diligent in looking for a solution.
Best regards
Peter
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerMorning Frank
I tried excluding the whole of the VC plugin folder last night but to no avail. Just to check the filter was working I excluded jquery.js. Testing confirmed this was excluded.
This morning I tried the filter above, again to no avail.
As I do all this I’m monitoring the cache folders on my server. I’ve noticed when logged in Hyper Cache does not cache any of the pages I view.
I think we may have already tried this earlier (my head is spinning a bit this morning!), rather than try to catch VC is it possible to do the same with AO – no optimisation while logged in?
I’m off out with the family today but should have some more time this evening.
Thanks for all your help.
Peter
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerThe developers of VC have suggested I block all the JS in their plugin folder, over 30 of them!
Do I have to include the .js after each file name in the “Exclude scripts from Autoptimize:” box as I see the default ones don’t include the file extension?
Thanks
Peter
It does, thanks Brian.
Peter
I clicked Block IP in Live Traffic view and saw that they appeared on the Dashboard. I must admit I didn’t realise that I am required to go into Blocked IP’s to make them permanent which is something I didn’t do. Thank you for the clarification.
I take it then that the Dashboard displays IPs that have been blocked but not necessarily the ones that remain blocked unless made permanent?
Thanks
Peter
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerI don’t really know how WordPress and Visual Composer work together but looking at the demo site (see the link I sent you via email) VC loads the page to be edited into a frame.
So when I look at the source HTML as VC tries to load I guess I’m looking at the frame. So that’s why there is no AO JS in the source HTML.
The page to be edited does get optimised by AO before it’s loaded into the frame. But because VC hangs the AO JS only shows up in the Developer tools.
That’s my guess.
Peter
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerI cleared the cache in Hyper Cache and deactivated the plugin. Cleared AO’s cache and tried VC again but sadly no change.
“snapwp” is the subdirectory WordPress is installed in.
Thanks
Peter
Forum: Plugins
In reply to: [Autoptimize] Autoptimize conflicts with WP Visual ComposerHere’s a screen dump from developer tools in chrome, this shows the JS file created after clearing the cache’s.
https://www.dropbox.com/s/1noutg92jw6i90v/scripts-called-chrome.jpg?dl=0
Thanks
Peter