• Resolved markderrick

    (@markderrick)


    Hi there, we’re running Frontier Post 3.6.1 – both it and WordPress were updated earlier this week.

    We’re now seeing the following error on the Send an Email page.

    Warning: Missing argument 6 for frontier_tax_input(), called in /nfs/c01/h16/mnt/457/domains/chiswickrugby.co.uk/html/wp-content/themes/scoreline-child/plugins/frontier-post/frontier_post_form_standard.php on line 99 and defined in /nfs/c01/h16/mnt/457/domains/chiswickrugby.co.uk/html/wp-content/plugins/frontier-post/include/frontier_post_util.php on line 149
    
    Warning: Invalid argument supplied for foreach() in /nfs/c01/h16/mnt/457/domains/chiswickrugby.co.uk/html/wp-content/plugins/frontier-post/include/frontier_post_util.php on line 216

    Any ideas what might be causing this?

    Thanks.

    https://wordpress.org/plugins/frontier-post/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author finnj

    (@finnj)

    Hi,

    It seems like you are using template forms.

    I have changed the call that builds the lists (categories etc) in version 3.6.0 and I believe this is causing the error.

    You have two options: one is to delete or rename the template form – then the new standard forms will be used

    Or to downgrade Frontier Post to the previous version you used – earlier versions can be found on the developer tab above

    I do not have access to any computer before Sunday, I onli have my iPhone

    I will then instruct you what to change to use tje new version – most likely it is only one line

    Plugin Author finnj

    (@finnj)

    Hi,

    In your template form (/nfs/c01/h16/mnt/457/domains/chiswickrugby.co.uk/html/wp-content/themes/scoreline-child/plugins/frontier-post/frontier_post_form_standard.php) you need to replace line 99:

    frontier_tax_input($thispost->ID, $tmp_tax_name, $tmp_tax_layout, $cats_selected, $frontier_post_shortcode_parms);
    
    Should be changed to this:
    
    frontier_tax_input($thispost->ID, $tmp_tax_name, $tmp_tax_layout, $cats_selected, $frontier_post_shortcode_parms, $tax_form_lists[$tmp_tax_name]);

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

The topic ‘Category Error’ is closed to new replies.