Encountered an issue in my site, where I wasn’t able to access the wp-admin when I updated the Yoast SEO 20.10.0 plugin.
This is the file.
/wp-content/plugins/wordpress-seo/src/conditionals/woocommerce-conditional.php
<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when WooCommerce is active.
*/
abstract class WooCommerce_Conditional implements Conditional {
/**
* Returns true when the WooCommerce plugin is installed and activated.
*
* @return bool true when the WooCommerce plugin is installed and activated.
*/
public function is_met() {
return \class_exists( 'WooCommerce' );
}
}
The only solution we did is to add the “abstract” above the file.
abstract
<?php
namespace Yoast\WP\SEO\Conditionals;
/**
* Conditional that is only met when WooCommerce is active.
*/
class WooCommerce_Conditional implements Conditional {
/**
* Returns true when the WooCommerce plugin is installed and activated.
*
* @return bool true when the WooCommerce plugin is installed and activated.
*/
public function is_met() {
return \class_exists( 'WooCommerce' );
}
}
But now, I just noticed that the “abstract” I added was deleted and the issue was gone. I need to know why does this type of issue happened and what causing this to occur? Is this related to the plugin update?
I hope someone can give me idea about this.
Thank you.
Thanks
]]>Is there a way to solve this or an update to check abstract class?
Thanks
]]>I would also like to be able to grab the abstract from the import, if that is possible for a future release.
]]>I am running WC 5.4. if that makes a difference. The order’s status still changes once leaving the error screen.
]]>By displaying abstracts this page with zotpress plugin is very long: https://wp.nyu.edu/library-nyuflorence/equity-diversity-and-inclusion/
Asking for your advice to have abstract displayed in popup window instead.
Thanks,
Cristina
Fatal error: Class WP_Hook contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (ArrayAccess::offsetUnset) in /home5/altituh3/public_html/funkykat/wp-includes/class-wp-hook.php on line 510
I’ve tried deleting/disabling plugins, changing back to default theme, replacing class-wp-hook.php file but nothing worked. I’d just updated to the latest version of WordPress and enabled SSL when it threw this error
So is it possible to add other indexes to Basepress?
Or is there another plugin instead of documentor which can be indexed?
The reason we use Documentor is to have ready made templates which we can copy and have a basic structure.
Also to explain things better I have attached links to images.
]]>