Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47157
    Pratese90
    Participant

    Hi,
    the general settings page is incomplete. The “Save Change” button is missing. The Exclude IPs and Wp-PostView settings are also not visible.
    Look the screenshot at this link: https://ibb.co/rMcn44C

    #47172
    Pratese90
    Participant

    This error detected on the website.

    Dettagli dell’errore
    ====================
    Un errore di E_ERROR รจ stato causato nella linea 410 del file /home/caciani14/public_html/wp-content/plugins/post-views-counter/includes/settings.php. Messaggio di errore: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/caciani14/public_html/wp-content/plugins/post-views-counter/includes/settings.php:410
    Stack trace:
    #0 /home/caciani14/public_html/wp-content/plugins/post-views-counter/includes/settings.php(410): in_array(‘administrator’, NULL, true)
    #1 /home/caciani14/public_html/wp-admin/includes/template.php(1743): Post_Views_Counter_Settings->exclude(Array)
    #2 /home/caciani14/public_html/wp-admin/includes/template.php(1701): do_settings_fields(‘post_views_coun…’, ‘post_views_coun…’)
    #3 /home/caciani14/public_html/wp-content/plugins/post-views-counter/includes/settings.php(203): do_settings_sections(‘post_views_coun…’)
    #4 /home/caciani14/public_html/wp-includes/class-wp-hook.php(303): Post_Views_Counter_Settings->options_page(”)
    #5 /home/caciani14/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #6 /home/caciani14/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/caciani14/public_html/wp-admin/admin.php(259): do_action(‘settings_page_p…’)
    #8 /home/caciani14/public_html/wp-admin/options-general.php(10): require_once(‘/home/caciani14…’)
    #9 {main}
    thrown

    #47216
    Pratese90
    Participant

    Resolved. I change PHP version fron 8.0 to 7.4.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.