• Hi, after the first time changing the settings on the plugin Tools admin page (set to a custom post type) the admin page does not contain the last fields and save button anymore. A Critical Error message in the source code breaking off the page output. There is no way to change the settings anymore and the export appears incomplete (missing columns)…

Viewing 7 replies - 1 through 7 (of 7 total)
  • hey, i have the same issue with 8.0 php version.
    try to downgrade the php version to 7.4 or 7.3 .

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Thanks @waaedazzam ?? too bad it’s impossible to downgrade for us because we’re on a containerised WP…

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    The error reported: “Cannot access offset of type
    string on string in simple-csv-xls-exporter/classes/simple-csv-exporter-settings.php:357″

    WordPress version 6.1.1
    Thème actif?: Twenty Twenty-Three (version 1.0)
    Extension actuelle?: Simple CSV/XLS Exporter (version 1.5.8)
    PHP version 8.0.26

    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 357 du fichier
    /var/www/html/wp-content/plugins/simple-csv-xls-exporter/classes/simple-csv-exporter-settings.php.
    Message d’erreur : Uncaught TypeError: Cannot access offset of type
    string on string in
    /var/www/html/wp-content/plugins/simple-csv-xls-exporter/classes/simple-csv-exporter-settings.php:357
    Stack trace:
    #0 /var/www/html/wp-admin/includes/template.php(1785):
    Simple_CSV_Exporter_Settings->settings_field_select_custom_fields(Array)
    #1 /var/www/html/wp-admin/includes/template.php(1739):
    do_settings_fields(‘Simple_CSV_Expo…’, ‘simple_csv_expo…’)
    #2
    /var/www/html/wp-content/plugins/simple-csv-xls-exporter/classes/simple-csv-exporter-settings.php(549):
    do_settings_sections(‘Simple_CSV_Expo…’)
    #3 /var/www/html/wp-includes/class-wp-hook.php(308):
    Simple_CSV_Exporter_Settings->plugin_settings_page(”)
    #4 /var/www/html/wp-includes/class-wp-hook.php(332):
    WP_Hook->apply_filters(”, Array)
    #5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /var/www/html/wp-admin/admin.php(259):
    do_action(‘tools_page_Simp…’)
    #7 /var/www/html/wp-admin/tools.php(40):
    require_once(‘/var/www/html/w…’)
    #8 {main}
       thrown

    Plugin Author Shambix

    (@shambix)

    @ravanh could you please tell me what you were trying to do exactly when the error appeared?

    the plugin has been successfully tested (activation and default export) with PHP 8.0

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi @shambix I had just installed and activated the plugin. The error occurred after modifying (and saving) the plugin settings for the first time… After that, I could no longer modify settings as the admin page was broken.

    Maybe relevant: I chose a custom post type for the export settings. I was hoping to include custom taxonomies but those were not (yet) available. I then saved the options in the hope that after selecting the custom post type, its associated custom taxonomies would be available for selection. Sadly, the error prevented further testing of the plugin.

    Plugin Author Shambix

    (@shambix)

    @ravanh I will try to test this case and release an update as soon as I can identify the issue.

    Can you confirm that the post type is searchable? is it a custom one? a system one? what other data did you select for export?

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Yes, a public (and searchable) custom post type. I don’t remember what other data I selected. At least the Title, Content and Excerpt but the custom taxonomies where not available at that time…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Half the admin page’ is closed to new replies.