Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function is_wp_version_compatible() #414

Closed
alimuzzaman opened this issue Nov 19, 2019 · 0 comments
Closed

Call to undefined function is_wp_version_compatible() #414

alimuzzaman opened this issue Nov 19, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@alimuzzaman
Copy link
Contributor

https://wordpress.org/support/topic/wp-stateless-v2-3-released/#post-12149522

My site is a 4.9.12 wp version and with after update to v2.3.0 version i get:

Fatal error: Uncaught Error: Call to undefined function wpCloud\StatelessMedia\is_wp_version_compatible() in /var/www/vhosts/gevbologna.org/httpdocs/wp-content/plugins/wp-stateless/lib/classes/class-bootstrap.php:212 Stack trace: #0 /var/www/vhosts/gevbologna.org/httpdocs/wp-content/plugins/wp-stateless/vendor/udx/lib-wp-bootstrap/lib/classes/class-bootstrap-plugin.php(56): wpCloud\StatelessMedia\Bootstrap->init() #1 /var/www/vhosts/gevbologna.org/httpdocs/wp-includes/class-wp-hook.php(286): UsabilityDynamics\WP\Bootstrap_Plugin->pre_init(”) #2 /var/www/vhosts/gevbologna.org/httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /var/www/vhosts/gevbologna.org/httpdocs/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /var/www/vhosts/gevbologna.org/httpdocs/wp-settings.php(327): do_action(‘plugins_loaded’) #5 /var/www/vhosts/gevbologna.org/httpdocs/wp-config.php(84): require_once(‘/var/www/vhosts…’) #6 /var/www/vhosts/gevbologna.org/httpdocs/wp-load.php(37): require_once(‘/var/www/vh in /var/www/vhosts/gevbologna.org/httpdocs/wp-content/plugins/wp-stateless/lib/classes/class-bootstrap.php on line 212

my workaorund is:

  1. manually clear “options” field in wp_options where options_name = ‘active_plugins’
  2. edit class-bootstrap.php and comment this:

//if(is_wp_version_compatible(‘5.3-RC4-46673’)){
// add_filter( ‘intermediate_image_sizes_advanced’, array($this, ‘store_can_delete_attachment’), 10, 3 );
//}

“apparently” it works … at least with my old version of WP.

Any suggestions?

Ciao from Bologna (Italy),

Diego

@alimuzzaman alimuzzaman added this to the v2.4.0 milestone Nov 19, 2019
@alimuzzaman alimuzzaman self-assigned this Nov 19, 2019
@alimuzzaman alimuzzaman modified the milestones: v2.4.0, v2.3.1 Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant