• buckneri

    (@buckneri)


    I cannot get it to work with WordPress multisite, i had it working but as soon as i turned on the network mode, the fields are no longer there.

    i currently use the field code in a plugin rather than directly in my functions.php because i am going to be using multiple tabs and fields for different sites if that makes a difference with solving this.

    https://ww.wp.xz.cn/plugins/woocommerce-custom-product-data-fields/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter buckneri

    (@buckneri)

    i moved the plugin into the mu-plugins folder and it kind of works, i am going to play around with moving some files around to see if i can solve it that way.

    Thread Starter buckneri

    (@buckneri)

    Ok so i have the framework installed as a must-use plugin by dumping the contents of the plugin folder into the mu-plugins folder so that it is activated by default accross the whole network. (note: for anyone else reading this, remove the fields-init.php to remove the demo fields when you upload to mu-plugins)

    the problem i now have is when i activate the fields either by using fields-init or by activating my fields plugin either through network activation or site by site activation, i get the following error above every custom field added to the tab:

    Notice: Undefined index: tab_name in /home/esalescloud/public_html/wp-content/mu-plugins/class-wc-product-data-fields.php on line 107

    Thread Starter buckneri

    (@buckneri)

    and upon trying to update a product i get a lot of undefined errors, so something is not loading fully.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress Multisite’ is closed to new replies.