mattf10
Forum Replies Created
-
This bug was not fixed in the latest release. As it stands, the filter does not work and only causes warnings.
Please change to ‘apply_filters‘ to fix this in the next release.
This was fixed in the latest release (3.17.0).
Forum: Plugins
In reply to: [Meow Lightbox] MeowCommon_Admin is called too earlyYes, I’m using the latest version (5.2.2) and not using any other Meox apps plugins on the site.
The warning is triggered by requests to ‘/wp-admin/’ such as ‘/wp-admin/edit.php’ and ‘/wp-admin/post.php’
The site is a WooCommerce shop, but not all these requests are related to the shop. I hope that helps but pls let me know if you need more info.
Thanks for the great plugin(s) and for looking into this ??
Forum: Plugins
In reply to: [Cool Timeline (Horizontal & Vertical Timeline)] site crashAll good now. Thanks for the quick fix.
Forum: Plugins
In reply to: [Cool Timeline (Horizontal & Vertical Timeline)] site crashI updated to the latest version but now I have a new fatal error:
PHP Fatal error: Uncaught Error: Failed opening required '/nas/content/live/xploreprod/wp-content/plugins/cool-timeline/includes/gutenberg-instant-builder/cooltimeline-instant-builder.php' (include_path='.:/usr/share/pear/php:/usr/share/php') in /nas/content/live/xploreprod/wp-content/plugins/cool-timeline/cooltimeline.php:144#012Stack trace:#012#0 /nas/content/live/xploreprod/wp-includes/class-wp-hook.php(324): CoolTimeline->ctl_include_files('')#012#1 /nas/content/live/xploreprod/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#2 /nas/content/live/xploreprod/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#3 /nas/content/live/xploreprod/wp-settings.php(555): do_action('plugins_loaded')#012#4 /nas/content/live/xploreprod/wp-config.php(119): require_once('/nas/content/li...')#012#5 /nas/content/live/xploreprod/wp-load.php(50): require_once('/nas/content/li...')#012#6 /nas/content/live/xploreprod/wp-admin/admin.php(34): require_once('/nas/content/li...')#012#7 {main}#012 thrown in /nas/content/live/xploreprod/wp-content/plugins/cool-timeline/cooltimeline.php on line 144
I checked the docroot and don’t see the folder ‘gutenberg-instant-builder’ in the includes directory.
Forum: Plugins
In reply to: [Cool Timeline (Horizontal & Vertical Timeline)] site crashSame problem here. Error from logs (may not be complete):
"PHP Fatal error: Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, array given in /nas/content/live/xploreprod/wp-includes/formatting.php:4482#012Stack trace:#012#0 /nas/content/live/xploreprod/wp-includes/formatting.php(4482): ltrim(Array)#012#1 /nas/content/live/xploreprod/wp-content/plugins/cool-timeline/includes/shortcodes/class-ctl-settings.php(53): esc_url(Array)#012#2 /nas/content/live/xploreprod/wp-content/plugins/cool-timeline/includes/shortcodes/class-ctl-shortcode.php(81): CTL_Settings->ctl_get_settings()#012#3 /nas/content/live/xploreprod/wp-content/plugins/cool-timeline/cooltimeline.php(118): CTL_Shortcode->__construct(Object(CTL_Settings))#012#4 /nas/content/live/xploreprod/wp-includes/class-wp-hook.php(324): CoolTimeline->ctl_include_files('')#012#5 /nas/content/live/xploreprod/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#6 /nas/content/live/xploreprod/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#7 /nas/content/live/xploreprod/wp-settings.php(555): do_action('plugins_loaded')#012#8 /nas/content/live/xploreprod/wp-config.php(119): require_once('/nas/content/li…')#012#9 /nas/content/live/xploreprod/wp-load.php(50): require_once('/nas/content/li…')#012#10 /nas/content/live/xploreprod/wp-blog-header.php(13): require_once('/nas/content/li…')#012#11 /nas/content/live/xploreprod/index.php(17): require('/nas/content/li…')#012#12 {main}#012 thrown in /nas/content/live/xploreprod/wp-includes/formatting.php on line 4482",
This also occurs in PHP 8.2. My logs are filled with the same error:
Attempt to read property "post_type" on null in /wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags.php on line 18
The warning is caused by this code:
$post->post_type === 'give_forms'
Please add some error handling to ensure that $post->post_type is set before accessing it.
Thanks
Forum: Plugins
In reply to: [Meow Lightbox] PHP Error: MeowCommon_Admin is called too early.Same issue here (loads of PHP errors in logs).
This is still a problem, so topic shouldn’t be marked as ‘Resolved’ until it’s actually fixed.
Thanks for the reply. I’m the webmaster and I don’t have anything to do with the subscription. In any case, I don’t need help with my site specifically since this is just a small issue with the code. It can be fixed with a one line code change by your developers.
It may help your developers to know that the page with the problem has a WPForms contact form on it, as well as the subscription pop-up. Regardless, it’s good programming practice to check that a variable is set before trying to access it. Since that’s not being done here, it’s causing the error I reported.
Forum: Themes and Templates
In reply to: [Himalayas] Undefined array key “HTTP_USER_AGENT”It appears this was fixed in the latest release (1.3.2). Many thanks.
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] A bug with the new WP 6.5It doesn’t appear this plugin is supported any more. I tried to register an account on their site, and the register form has a fatal error.
I replaced the plugin with Meow Lightbox and it works great.
Same problem – server logs are filled with the same error. Please add ‘isset’ code to check for array key. Thanks
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] A bug with the new WP 6.5I believe the problem started before the last WordPress update. It breaks ‘Select All’ functionality on every page in the admin which is a major annoyance to users.
Please fix ASAP! Thanks
Forum: Themes and Templates
In reply to: [Himalayas] Undefined array key “HTTP_USER_AGENT”Hi – the problem can be replicated on any NGINX web server. You are trying to access a non-standard variable: $_SERVER[‘HTTP_USER_AGENT’]. If you check the PHP document: https://www.php.net/manual/en/reserved.variables.server.php, you’ll see that the key you’re calling (HTTP_USER_AGENT) isn’t listed.
I use this theme on many sites / many servers that all run NGINX and it’s a problem on every site.
Adding the ‘isset’ check I mentioned is quick and won’t cause any problems so please do so.
Thanks
Forum: Plugins
In reply to: [Post Types Order] Fatal Error After UpgradeUpgrading to 2.0.8 fixed the problem. Thanks.