Fieldtype

Archived
Forum
(read-only)

ALT MultiField

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Utilitarienne

     

Errors due to 2.6 deprecated functions

Bug Report

Mat-Moo
Mat-Moo

>>>EE_[removed]:generate_json, use json_encode() instead
Need to update with

/**
     * Save Field
     */
    
function save($data)
    
{
     
return json_encode($dataTRUE);
    
}

    
/**
     * Save Cell
     */
    
function save_cell($data)
    
{
        
return json_encode($dataTRUE);
    

I’ve also

function Alt_multifield_ft() {
   parent
::__construct(); 

Which has fixed some other areas however I’m still getting a Array to String conversion error at the top of the page, any idea why?

Mat-Moo
# 1
Mat-Moo

Also

$form .= form_dropdown($selectname,array_combine($stuff['dropdown'],$stuff['dropdown']),$selectval'class="'.$mydata['class'].'" id="'.$mydata['id'].'"'); 

for the multi select

Adrienne Travis
# 2
Developer
Adrienne Travis

Thanks. I really have been trying to get a big batch of changes rolled out, it’s just been a hectic long while. I’ll see what I can do about this asap!

Mat-Moo
# 3
Mat-Moo

Life eh!