• Resolved resesidan

    (@resesidan)


    In the field “FOLLOW US” I am getting this error message when activating plugin Polylang:

    Warning: Illegal offset type in isset or empty in /home/resesida/public_html/wp-includes/pomo/translations.php on line 72

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,
    there seems to be a problem with the handling of the social-target option for the social icons list. I wasn’t able to fix it but I have found a workaround.

    In the file \hueman\functions\theme-options.php go to line 873 and change the last array (lines 873-884) from

    array(
    'id'		=> 'social-target',
    'label'		=> 'Link Options',
    'desc'		=> '',
    'std'		=> '',
    'type'		=> 'checkbox',
    'choices'	=> array(
    		array(
    			'value' => '_blank',
    			'label' => 'Open in new window'
    		)
    )

    to

    array(
    'id'		=> 'social-target',
    'label'		=> 'Link Target',
    'desc'		=> 'Open in new window (_blank) or delete to open in the same window',
    'std'		=> '_blank',
    'type'		=> 'text',
    'choices'	=> array()
    )

    This changes the type of the theme option from checkbox to simple text just like the previous options and is handled correctly.
    Then you can manually write _blank if you want your links to open in a new page or leave it empty to open in same page.

    I hope the problem will be fixed in the new version of the theme.

    Thread Starter resesidan

    (@resesidan)

    Thanks so much for assistans

    barxa

    (@barxa)

    Awesome! would never figured out…

    Thanx guys

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message using Plugin Polylnag’ is closed to new replies.