Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

When activating the Oxygen Toolbars Extra (after loading Toolbars Extra for eliminator... #2

Open
mrmjwilson opened this issue Sep 20, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@mrmjwilson
Copy link

When I load and activate (Network Activate) the Oxygen Toolbars Extra... I get the following error...

Catchable fatal error: Argument 1 passed to ddw_tbexob_builder_logic_for_oxygen() must be an instance of bool, boolean given in /home2/naviti1/public_html/wp-content/plugins/toolbar-extras-oxygen/includes/admin/tbexob-settings.php on line 801

The line in tbexob.php is as follows

function ddw_tbexob_builder_logic_for_oxygen( bool $is_active ) {

$default_builder = ddw_tbex_get_default_pagebuilder();

/** Check for Oxygen Builder */
if ( 'oxygen' === $default_builder && ! ddw_tbexob_is_oxygen_active() ) {
	return FALSE;
}

/** Default: return TRUE */
return TRUE;

} // end function

@deckerweb deckerweb transferred this issue from deckerweb/toolbar-extras Sep 20, 2019
@deckerweb
Copy link
Owner

Thanks for reporting, you are right this is a bug.

I will release an update ASAP - that means in the next few days, as I will fix another longstanding issue also.

In the meantime you can change the above reported function, this one line:
function ddw_tbexob_builder_logic_for_oxygen( bool $is_active ) {

change it to:

function ddw_tbexob_builder_logic_for_oxygen( $is_active ) {

(remove the "bool")

Thanks again, Dave :)

@deckerweb
Copy link
Owner

@mrmjwilson just tagging you, to be sure you are notified, as I transferred the issue to the proper repository of the add-on :-)

@deckerweb deckerweb added the bug Something isn't working label Sep 20, 2019
@mrmjwilson
Copy link
Author

Cool got it -- sorry for repeat ticket

@deckerweb
Copy link
Owner

No prob, all good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants