• Resolved harrowmykel

    (@harrowmykel)


    DUE TO

    
    [29-Jun-2020 19:49:26 UTC] PHP Warning:  Illegal string offset 'pvcp_general_front_view_counter' in wp-content/plugins/page-visit-counter/public/class-page-visit-counter-public.php on line 615

    PLEASE KINDLY UPDATE YOUR PLUGIN FROM

    if ( "enable" === $general_wizard_setting['pvcp_general_front_view_counter'] && (empty($page_meta_value) || in_array( 'yes', $page_meta_value )) && (empty($general_wizard_setting['pvcp_general_post_type']) || in_array( $type, $general_wizard_setting['pvcp_general_post_type'] )) ) {

    TO

    if ( "enable" === @$general_wizard_setting['pvcp_general_front_view_counter'] && (empty($page_meta_value) || in_array( 'yes', $page_meta_value )) && (empty($general_wizard_setting['pvcp_general_post_type']) || in_array( $type, @$general_wizard_setting['pvcp_general_post_type'] )) ) {

    OR USE OTHER APPROPRIATE ARRAY CHECK !!!

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

    (@dots)

    Hello harrowmykel,

    Thanks for reaching out to us.

    Okay sure, we will resolve this PHP warning as this type of warning come once no variable defined.

    Quick solution:

    Can you please false the debug from your “wp-config.php” file to resolve this type of warnings.

    Like: define( 'WP_DEBUG', false);

    Let us know still if any.

    Thanks,

    Plugin Author Dotstore

    (@dots)

    Hello harrowmykel,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update your plugin’ is closed to new replies.