Comments (4)
We obviously have error handling in place. I'm unsure why the error wasn't triggered. The team will try to reproduce it and fix.
from wordpress-sdk.
The problem causes a Fatal Error (at least on new PHP versions)
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, false given in /wp-content/plugins/mailster/vendor/freemius/wordpress-sdk/includes/class-freemius.php:19985
from wordpress-sdk.
Use this snippet for a quick test:
add_filter(
'pre_http_request',
function ( $bool, $r, $url ) {
if ( false !== strpos( $url, '//api.freemius.com' ) ) {
return new WP_Error( 'http_blocked', esc_html__( 'A valid URL was blocked.' ) );
}
return $bool;
},
100,
3
);
from wordpress-sdk.
+1 to fix
from wordpress-sdk.
Related Issues (20)
- Freemius::_module_type should not be used directly in translations.
- Freemius::_load_textdomain() does not need to be called in the frontend
- Activating a license key results in an error
- White Labeled license key shows all the license keys of the owner HOT 1
- Make it possible to check if a custom optional permission was accepted.
- Remove unnecessary files from build
- Freemius SDK 2.6.0 causes fatal error in Site Editor when used with WP Multi Network plugin (in multisite) HOT 11
- The upgrade notice should only appear when the new version is higher than the version on the upgrade notice
- Multisite - When unchecking Activate license on all sites in the network, it shows an error and checkbox disabled
- Multisite - If first-path is `options-general.php` it redirects to 404
- Multisite - If menu has a parent slug, the account urls will direct to 404
- White space on top of admin because of unseen PHP error
- PHP Warning: The script tried to access a property on an incomplete object HOT 1
- strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated
- Premium licence deactivates itself every few hours
- E_WARNING: Undefined array key 1
- Support for playground HOT 3
- Deprecation warnings PHP 8.2 and SDK 2.6.2 HOT 1
- PHP Fatal error: Uncaught ValueError: Unknown format specifier "W" in class-fs-clone-manager.php:1328
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-sdk.