Icon List Item error after upgrading X Theme and Cornerstone

After upgrading X Theme and Cornerstone, we have an issue with the icon list. If the icon list item opens up a new tab (Open Link in New Tab), we receive this error and the link becomes unclickable.

Cornerstone: Version 3.5.5
X Theme: Version: 6.5.6

Would you please help?

Hi There @joannhu

Thanks for writing in! Could you please try switching to a different PHP version and see if that helps. You can contact your hosting provider if needed. You can see a similar issue due to PHP version, experienced by another customer here (https://theme.co/apex/forum/t/modern-event-illegal-string-offset-error/50781).

Other method is to hide PHP errors for the your site visitors. Please refer to the following post for that (https://theme.co/apex/forum/t/error-integrating-email-form/1846/2?u=mldarshana).

Thanks!

Hi @mldarshana,

The site is running PHP version: 7.1.29 and we didn’t do any PHP upgrade recently so it may not be the PHP version issue. I also tried PHP 7.0 and 7.2. None of them solve the issue.

Hiding PHP errors doesn’t solve the link unclickable issue though…

Is there any other solution?

Hello Joan,

Thanks for updating the thread.

Can you please share the admin login details and page URL where you are seeing the error message in secure note for us to take a closer look?

Thanks.

Thanks! The information is provided in the secure note:

Hi There @joannhu

I have tried to login into your site, but it seems that your login credentials are invalid as I’m getting the following error.

ERROR: The password you entered for the username is incorrect.

Could you please confirm with the correct information again. Also we may require your FTP credentials as well.

In the meantime, if you haven’t updated your WordPress to the latest version, please do that and re-test your issue again as well. You can check the latest WordPress version from here (https://wordpress.org/download/) and follow their update guide (https://codex.wordpress.org/Upgrading_WordPress).

Thanks!

Hello Joannhu,

Thanks for updating the thread. :slight_smile:

Upon login I created a new page in draft mode. After that I cleared the cache and then added a new Icon List element and then added a URL Link. On my end I don’t see the error message showing up and link item is working fine. Please see screencast.

Please clear cache and try adding link element again. Let us know how it goes.

Thanks.

Hi @Prasant,

The error happens only if the link opens to a new tab.

I went to the page that you created and made the first link open to a new tab, the error message appears. And the link becomes unclickable.

Hi Joannhu,

Thank you for the clarification, yes I can replicate the issue on my end. I’ve submitted this to our issue tracker so the developers will be made aware of it.

You can check our changelog page on next release to see if a fix for this issue is included, regretfully we can’t provide a date of our next release.

In the meantime, you can use the button element. Button element can have an icon, text and it can be a link. Remove the background and shadow so it would look like a normal text.

Thank you for understanding,

Thanks @friech!

Glad we could help, Cheers!

Hey @friech,

I’m encountering this issue as well and have not been able to use your button workaround. How do you add an icon to a button? There is no option to do so on my end for a modern button.

A Classic Button element has the option to add an icon, but no option to hide the outline that I can see…

Hi Ian,

You should have the following option in your button element.

Please check and make sure that the advanced options is enabled.

Thanks

Aha, I was missing Advanced Mode. Thanks!

You’re most welcome, Ian!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.