• When running Search and Replace v3.1.2 I am getting PHP Notice errors in the ‘View details’ just for changes in the wp_postmeta table. A sample message is:

    ( ! ) Notice: Undefined offset: 0 in /var/www/wphba/wp-content/plugins/search-and-replace/inc/FileDownloader.php on line 222
    Call Stack
    # Time Memory Function Location
    1 0.0002 281840 {main}( ) ../tools.php:0
    2 0.0002 283136 require_once( ‘/var/www/wphba/wp-admin/admin.php’ ) ../tools.php:10
    3 2.1471 5794072 do_action( ) ../admin.php:222
    4 2.1472 5794776 WP_Hook->do_action( ) ../plugin.php:453
    5 2.1472 5794872 WP_Hook->apply_filters( ) ../class-wp-hook.php:323
    6 2.1474 5796072 call_user_func_array ( ) ../class-wp-hook.php:298
    7 2.1474 5796584 Inpsyde\SearchReplace\Page\Manager->render( ) ../class-wp-hook.php:298
    8 2.1603 5797640 Inpsyde\SearchReplace\Page\Manager->save( ) ../Manager.php:120
    9 2.1650 5798368 Inpsyde\SearchReplace\Page\SearchReplace->save( ) ../Manager.php:50
    10 2.1679 5799216 Inpsyde\SearchReplace\Page\SearchReplace->run_replace( ) ../SearchReplace.php:152
    11 12.1238 5992624 Inpsyde\SearchReplace\FileDownloader->show_changes( ) ../SearchReplace.php:205
    12 12.1450 6000968 Inpsyde\SearchReplace\FileDownloader->trim_search_results( ) ../FileDownloader.php:172

    There are 6 similar notices for each row and in place of the usual formatted output it displays:

    Old value: …… New value: …… row 7 column meta_value

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notic: Undefined offset reported in Search & Replace details’ is closed to new replies.