eclev91
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta pixel for WordPress] PHP Deprecated errors while using PHP 8.1The upstream Facebook PHP SDK dependency was supposed to be bumped from v12 to v16 but that change never made it to the Composer lockfile, so it isn’t actually shipping.
Follow https://github.com/facebookincubator/Facebook-Pixel-for-Wordpress/issues/42
@livemesh still hanging on tight for this one – hopefully the dependency bump is pretty seamless!
@rizaardiyanto bumping this topic. Would love to see these deprecation notices squashed. Looking forward to a codebase prepared for future versions of PHP.
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Set Select Language as defaultYeah this would be a nice feature @edo888 to maintain the previous functionality.
For anyone else, rather than use JS, you could filter the settings to set
default_languageto''. @edo888 has not provided any filters with which to do this, but the settings are loaded viaget_option, so something like this should let you do this:add_filter('option_GTranslate', function($data) { $data['default_language'] = ''; return $data; }That’s untested. There is an
issetcheck that could prevent that from sticking.- This reply was modified 3 years, 2 months ago by eclev91.
Forum: Plugins
In reply to: [Breeze Cache] **PLEASE READ BERFOR UPDATE**@adeelkhan you should add a “Requires PHP” header to the plugin for better declaration of this and admin-side warnings. See https://make.ww.wp.xz.cn/plugins/2017/08/29/minimum-php-version-requirement/
Closing in favor of GitHub issue.
@poonam9 If you reference the GitHub issue I linked, you’ll see the details for how to reproduce. Your team has already addressed my comment and sounds like they’ll be working on a fix. Thanks for your attention.
Not sure why this specifically breaks Divi, but this is the offending code.
Per my previous comments, this is specific to Divi.
@poonam9 Sorry, I got my versions mixed up. Here’s the full scope of my testing with Divi 4.18, WordPress 6.0.2, and various versions of Orbit Fox –
2.10.13 – works
2.10.14 – works
2.10.15 – fatal error
2.10.16 – fatal error
2.10.17 – fatal error@poonam9 I can confirm that this issue does not happen with Orbit Fox version 2.10.13. So something in 2.10.14 triggered this bug.
Using latest WP (6.0.2).
@salvamb Thanks!
@salvamb for whatever reason, this still throws an error for me. Your check uses
is_callable, which for some reason returns true. If I replace it withmethod_exists, it works as expected.Filed a ticket: https://github.com/wp-cli/wp-cli/issues/5635