deckerweb / toolbar-extras-oxygen

Building websites with Oxygen? Your work will get easier & faster with this Toolbar Extras Add-On. Extended plugin support baked right in.
https://toolbarextras.com
GNU General Public License v2.0
6 stars 0 forks source link

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

Open mrmjwilson opened 5 years ago

mrmjwilson commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

mrmjwilson commented 5 years ago

Cool got it -- sorry for repeat ticket

deckerweb commented 5 years ago

No prob, all good