nikdow
Forum Replies Created
-
Forum: Plugins
In reply to: [Eway Payments for Woo] eway fields are missingMight also be relevant. We saw emails saying there was no way to pay a few days ago, so I checked the configs and the eWay API key had gone missing. So we fixed that but it didn’t affect the issue. Could be related.
Forum: Plugins
In reply to: [Membership Plugin - Kadence Memberships] SVN tag missingThanks for fix, upgrade went through yesterday OK.
Forum: Plugins
In reply to: [Membership Plugin - Kadence Memberships] SVN tag missingThanks for your prompt attention. I will check the logs on the next run (about 4 hours from now). Nice to see a well maintained plugin, thanks for the software.
I’ve switched to using Max Mega Menu (free version), which writes the CSS to the correct location:
CSS will be saved to wp-content/uploads/maxmegamenu/style.css and enqueued from there.Thanks for your help so far. I’ve added some CSS to the theme and the menu is now appearing, but it’s empty. A screenshot: https://drive.google.com/file/d/1URYE8qbRQ05q7NAlhA8Mp9zwB2bU07Fn/view?usp=sharing
The LI items seem to be to the right of the menu area and have a zero dimension.The CSS I’ve added is:
`.mob-menu-header-holder {
background: #453e3e !important;
}
@media only screen and (max-width:1025px) {
div.menu-header-menu-container ul#menu-header-menu {
display: none;
}
}`BTW, the reason we don’t allow PHP to update files is because this is a common vector for hacking WordPress. We only allow PHP to update/create files in the wp-content/uploads directory, and our webserver configuration won’t run any PHP scripts in that directory.
You could alter your excellent plugin to create the CSS file it needs in /uploads/WPmobileMenu/style.css for example. Or you could include this CSS in a <style> tag in the PHP output.Thanks again for quick response. I’ve added that CSS to the child theme, and it is active, but still not seeing the mobile menu. On Windows I can see the CSS is there and the
- with the menu items are there, but so far I haven’t been able to work out what is stopping it from showing up.
Also, should the standard menu be hidden when the mobile menu is showing?Thanks for your quick response, much appreciated.
The error is in the core but the stack trace shows the call is coming from the plugin. Sorry – I should have included the full stack trace:[18-Oct-2022 06:01:18 UTC] PHP Fatal error: Uncaught TypeError: ftp_pwd(): Argument #1 ($ftp) must be of type resource, null given in /home/lamp/wordpress/core/wp6.0/wp-admin/includes/class-wp-filesystem-ftpext.php:230 Stack trace: #0 /home/lamp/wordpress/core/wp6.0/wp-admin/includes/class-wp-filesystem-ftpext.php(230): ftp_pwd(NULL) #1 /home/lamp/wordpress/core/wp6.0/wp-admin/includes/class-wp-filesystem-ftpext.php(450): WP_Filesystem_FTPext->cwd() #2 /home/lamp/wordpress/plugins/mobile-menu/includes/plugin-settings/lib/class-mobmenu-css.php(392): WP_Filesystem_FTPext->is_dir('/home/lamp/word...') #3 /home/lamp/wordpress/core/wp6.0/wp-includes/class-wp-hook.php(307): MobileMenuCSS->_generateMissingCSS('') #4 /home/lamp/wordpress/core/wp6.0/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array) #5 /home/lamp/wordpress/core/wp6.0/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #6 /home/lamp/wordpress/core/wp6.0/wp-admin/admin.php(175): do_action('admin_init') #7 {main} thrown in /home/lamp/wordpress/core/wp6.0/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230As I mentioned, we’ve eliminated the error by setting
if (!defined(‘FS_METHOD’)) define(‘FS_METHOD’, ‘direct’);
which prevents WP from trying to use FTP credentials to access files. Could be reading, not updating a file.
So now we aren’t seeing any error and I can’t be sure that the above problem is in any way related to the plugin not doing anything.I’ve tried turning off Enable only in Mobile devices as you suggested, no change.
I tried a big number in the Width Trigger, no change. Put it back to 1024px for now.On one of our other sites, I tested by turning the right menu off, then on again. I could see the changes on a mobile phone client OK.
The original error was
[18-Oct-2022 06:01:18 UTC] PHP Fatal error: Uncaught TypeError: ftp_pwd(): Argument #1 ($ftp) must be of type resource, null given in /home/lamp/wordpress/core/wp6.0/wp-admin/includes/class-wp-filesystem-ftpext.php:230
This error went away with the change to
if (!defined(‘FS_METHOD’)) define(‘FS_METHOD’, ‘direct’);So if the plugin is needing to update files on the webserver, that won’t succeed. We don’t allow apache to update files, as this is a major security weakness in WP. Our plugin/theme updates are done by a different server account using SVN and python.
works on my android phone with Chrome.
Thanks for quick response. Our updater has picked up the new tag OK on it’s last run, sos we have the latest version.
Thanks very much for the fix!
Forum: Plugins
In reply to: [Nav Menu Roles] SVN tag errorYes our updater got it a few hours ago, many thanks for taking the time.
Forum: Plugins
In reply to: [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress] train CAPTCHA on spamI’ve upped the difficulty level in the Google settings, and also upgraded to v3. So far no false negatives today, so all is good.
Forum: Plugins
In reply to: [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress] combined with AkismetApologies for this topic, which should have been directed to Akismet forum. I’ve now had help from there and Akismet is restricted to the jetpack contact form.