• Resolved nicmare

    (@nicmare)


    WP Version 4.9.7
    ACF PRO Version 5.7.0
    SH Version 2.23.1

    I noticed a problem some versions before already. I have an option page built with ACF:

    if( function_exists('acf_add_options_page') ) {
        acf_add_options_page(array(
            'page_title' 	=> 'Optionen',
            'menu_title'	=> 'Optionen',
            'menu_slug' 	=> 'optionen'
        ));
    }

    when i save something in that option page (you need to create some option fields in acf before), i get this error:

    Notice: Undefined variable: new_exists in /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 898
    
    Notice: Undefined variable: new_exists in /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 898
    
    Notice: Undefined variable: new_exists in /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 898
    
    Notice: Undefined variable: new_exists in /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 898
    
    Notice: Undefined variable: new_exists in /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 898
    
    Warning: Cannot modify header information - headers already sent by (output started at /Users/nicb/Data/_htdocs/etlp/wp-content/plugins/simple-history/loggers/Plugin_ACF.php:898) in /Users/nicb/Data/_htdocs/etlp/wp-includes/pluggable.php on line 1219

    i have this warning message in many wordpress instances. i always work with wp debug mode. therefore i see the warning. can you fix this please, Pär? Thank you! Let me know when its fixed, i will donate again for sure!

    • This topic was modified 7 years, 10 months ago by nicmare.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter nicmare

    (@nicmare)

    not sure if this is new but i also get the warnings when saving acf field settings. now i know what the problem is! there is a spelling error in line 895: variable name is different to 898!!!

    Plugin Author Pär Thernström

    (@eskapism)

    Thanks for the report + for finding the misspelled variable! Will release an update with this fix later today I hope.

    Thread Starter nicmare

    (@nicmare)

    thanks! updated SH but now another bug appears when saving options page:

    Notice: Undefined index: prev_post_meta in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 190

    Warning: array_map(): Argument #2 should be an array in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 192

    Warning: array_merge(): Argument #1 is not an array in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 196

    Warning: ksort() expects parameter 1 to be array, null given in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 197

    Warning: Invalid argument supplied for foreach() in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 451

    Warning: Invalid argument supplied for foreach() in /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php on line 451

    Warning: Cannot modify header information – headers already sent by (output started at /kunden/200001_10249/hpa/web/wp-content/plugins/simple-history/loggers/Plugin_ACF.php:190) in /kunden/200001_10249/hpa/web/wp-includes/pluggable.php on line 1219

    Thread Starter nicmare

    (@nicmare)

    Problem still persists 🙁

    Plugin Author Pär Thernström

    (@eskapism)

    Sorry, will take a look at this again as soon as possible.

    Plugin Author Pär Thernström

    (@eskapism)

    This should be fixed in 2.26.

    Thread Starter nicmare

    (@nicmare)

    seems fixed. thank you pär

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

The topic ‘Problem with recent version and ACF Options Page’ is closed to new replies.