shortcodes issue on php version over 7.0

souacz
50 Posts
souacz posted this 10 September 2018

Hi, I noticed the issue using shortcodes one_half, one_third etc. When the php version is set to 7.0 shortcodes work correct but on versions 7.1 and 7.2 the shortcodes do not arrange the columns and the column's contents are one under the other.

sample (php 7.0): http://marcintafelski.pl/ and http://marcintafelski.pl/kontakt
sample (php 7.2): http://kapita.pl/ and http://kapita.pl/kontakt

Hi, I noticed the issue using shortcodes one_half, one_third etc. When the php version is set to 7.0 shortcodes work correct but on versions 7.1 and 7.2 the shortcodes do not arrange the columns and the column's contents are one under the other. sample (php 7.0): [http://marcintafelski.pl/][1] and [http://marcintafelski.pl/kontakt][2] sample (php 7.2): [http://kapita.pl/][3] and [http://kapita.pl/kontakt][4] [1]: http://marcintafelski.pl/ [2]: http://marcintafelski.pl/kontakt [3]: http://kapita.pl/ [4]: http://kapita.pl/kontakt

Last edited 10 September 2018 by souacz

Vote to pay developers attention to this features or issue.
27 Comments
Order By: Standard | Newest
mail152
1 Posts
mail152 posted this 18 October 2018

Do you have an update yet for the shortcodes.php?

Still got an error under PHP 7.1. and the shortcodes not work at all:
PHP Warning: Illegal string offset 'width' in /is/htdocs/wp12541520_O6HFRBX9R9/www/Theme/library/shortcodes.php on line 78

Best regards
Daniel

Do you have an update yet for the shortcodes.php? Still got an error under PHP 7.1. and the shortcodes not work at all: PHP Warning: Illegal string offset 'width' in /is/htdocs/wp12541520_O6HFRBX9R9/www/Theme/library/shortcodes.php on line 78 Best regards Daniel
Support Team
Support Team posted this 21 September 2018

Hello,

I see, thank yo for your comments. We will update this topic as soon as there is information from our developers on the issue.

Sincerely,
Nettie

Hello, I see, thank yo for your comments. We will update this topic as soon as there is information from our developers on the issue. Sincerely, Nettie
DaveOzric
924 Posts
DaveOzric posted this 21 September 2018

A fix would be nice so I do not have to update the site's I have used it on. Going forward I believe I will use only Bootstrap column divs. Although updating to a new version of Bootstrap will probably hose that up too.

A fix would be nice so I do not have to update the site's I have used it on. Going forward I believe I will use only Bootstrap column divs. Although updating to a new version of Bootstrap will probably hose that up too.
souacz
50 Posts
souacz posted this 21 September 2018

This is issue specific for php. I did not update templates before before it came out, only upgraded the php version for domain. After this operation the columns showed up one under the other

This is issue specific for php. I did not update templates before before it came out, only upgraded the php version for domain. After this operation the columns showed up one under the other

Last edited 21 September 2018 by souacz

Support Team
Support Team posted this 21 September 2018

Hello,

Thank you all for your input. The shortcodes should work, so we will investigate the issue together with our developers. The question left now is whether anything has changed namely after the latest Themler update.

Sincerely,
Nettie

Hello, Thank you all for your input. The shortcodes should work, so we will investigate the issue together with our developers. The question left now is whether anything has changed namely after the latest Themler update. Sincerely, Nettie
DaveOzric
924 Posts
DaveOzric posted this 21 September 2018

No one knows when you removed this or if it's purely a PHP issue? The details are extremely simple. Read the initial post in this thread and you will see exactly what is wrong. The columns shortcode you had instructed us to use is no longer working with PHP 7.1 or above.

What else is there to tell you?

No one knows when you removed this or if it's purely a PHP issue? The details are extremely simple. Read the initial post in this thread and you will see exactly what is wrong. The columns shortcode you had instructed us to use is no longer working with PHP 7.1 or above. What else is there to tell you?
SRuff
20 Posts
SRuff posted this 21 September 2018

Hi Dave,

Looks like you refer to the same issue here as in the topic https://answers.themler.io/questions/171179/no-more-shortcodes-now-what
Let's continue discussion in that topic.

Thank you,
Nettie

I have the exact problem. I renewed my license and the update caused the error.
Warning: Illegal string offset 'width' in /home/__/public_html/plugins/content/themlercontent/lib/Shortcodes.php on line 1492
Is there a fix?
Thank you

> Hi Dave, > > Looks like you refer to the same issue here as in the topic https://answers.themler.io/questions/171179/no-more-shortcodes-now-what > Let's continue discussion in that topic. > > Thank you, > Nettie I have the exact problem. I renewed my license and the update caused the error. Warning: Illegal string offset 'width' in /home/______/public_html/plugins/content/themlercontent/lib/Shortcodes.php on line 1492 Is there a fix? Thank you
souacz
50 Posts
souacz posted this 21 September 2018

There's a compare in the first post. The problem is on php version abova 7.0 f.eg. 7.1, 7.2. I use shortcodes [one_half], [one_third] etc.

There's a compare in the first post. The problem is on php version abova 7.0 f.eg. 7.1, 7.2. I use shortcodes [one_half], [one_third] etc.
Support Team
Support Team posted this 21 September 2018

souacz,

If the issue happens to you too, please try to describe in details how we can reproduce it, when it started to happen and what shortcodes don't work.

Thank you,
Nettie

**souacz**, If the issue happens to you too, please try to describe in details how we can reproduce it, when it started to happen and what shortcodes don't work. Thank you, Nettie
DaveOzric
924 Posts
DaveOzric posted this 21 September 2018

It's private. Essentially they have not given me much of an answer about a solution. I'm not sure if they knew they did this or what. I don't think support was aware of it anyway. They asked me if I knew when it started happening. That indicates they don't know.

I'm moving on but anyone with a large amount of site's using this is in trouble. I had maybe 4 or 5 with a couple pages each.

It's private. Essentially they have not given me much of an answer about a solution. I'm not sure if they knew they did this or what. I don't think support was aware of it anyway. They asked me if I knew when it started happening. That indicates they don't know. I'm moving on but anyone with a large amount of site's using this is in trouble. I had maybe 4 or 5 with a couple pages each.
souacz
50 Posts
souacz posted this 21 September 2018

Sorry! We couldn't find that page

https://answers.themler.io/questions/171179/no-more-shortcodes-now-what

Sorry! We couldn't find that page > > https://answers.themler.io/questions/171179/no-more-shortcodes-now-what >

Last edited 21 September 2018 by souacz

Support Team
Support Team posted this 21 September 2018

Hi Dave,

Looks like you refer to the same issue here as in the topic https://answers.themler.io/questions/171179/no-more-shortcodes-now-what
Let's continue discussion in that topic.

Thank you,
Nettie

Hi Dave, Looks like you refer to the same issue here as in the topic https://answers.themler.io/questions/171179/no-more-shortcodes-now-what Let's continue discussion in that topic. Thank you, Nettie
DaveOzric
924 Posts
DaveOzric posted this 18 September 2018

FYI, this is now causing errors in my Joomla error_log too. Hundreds of them. Assuming on each page load.

[18-Sep-2018 06:03:45 UTC] PHP Warning: Illegal string offset 'width' in /home//public_html//plugins/content/themlercontent/lib/Shortcodes.php on line 1498

FYI, this is now causing errors in my Joomla error_log too. Hundreds of them. Assuming on each page load. [18-Sep-2018 06:03:45 UTC] PHP Warning: Illegal string offset 'width' in /home/***/public_html/***/plugins/content/themlercontent/lib/Shortcodes.php on line 1498
DaveOzric
924 Posts
DaveOzric posted this 18 September 2018

WTF is going on here? Come on support this is getting absurd now. What exactly is the issue with ignoring all our tickets and posts on the forum?

WTF is going on here? Come on support this is getting absurd now. What exactly is the issue with ignoring all our tickets and posts on the forum?
DaveOzric
924 Posts
DaveOzric posted this 14 September 2018

That's what led me here, the missing link. Really Themler? You just thought we would not notice all our sites are not working anymore? Come on, this is a serious thing and professional websites are built with your product.

That's what led me here, the missing link. Really Themler? You just thought we would not notice all our sites are not working anymore? Come on, this is a serious thing and professional websites are built with your product.
souacz
50 Posts
souacz posted this 14 September 2018

http://answers.themler.io/articles/3621/shortcodes-overview

Click on "Columns Shortcode" link - this article just dematerialized ;)

http://answers.themler.io/articles/3621/shortcodes-overview Click on "Columns Shortcode" link - this article just dematerialized ;)
DaveOzric
924 Posts
DaveOzric posted this 14 September 2018

And where is this in the changelog? Are all the people who use this supposed to figure this out when an angry customer contacts us? I assume enough people have used these to make it yet another bad decision to secretly remove this.

And where is this in the changelog? Are all the people who use this supposed to figure this out when an angry customer contacts us? I assume enough people have used these to make it yet another bad decision to secretly remove this.
DaveOzric
924 Posts
DaveOzric posted this 14 September 2018

This would be nice but updates are far and few between for this unless we get enough people and it's not too hard for them.

I suggest a private ticket and keep us posted on this thread.

This would be nice but updates are far and few between for this unless we get enough people and it's not too hard for them. I suggest a private ticket and keep us posted on this thread.
souacz
50 Posts
souacz posted this 14 September 2018

Yes, the bulk operations in database could solve the problem. But who will pay for it? In my opinion Themler developers should update editor to make simply shortcodes working properly again. Then I could just update template and the problem disappears.

Yes, the bulk operations in database could solve the problem. But who will pay for it? In my opinion Themler developers should update editor to make simply shortcodes working properly again. Then I could just update template and the problem disappears.
DaveOzric
924 Posts
DaveOzric posted this 14 September 2018

I get your issue completely. I am trying to find a solution that can be used going forward. I would not hold out hope of any solutions for the columns we have used.

I don't understand how PHP affects this though. Aren't the columns JS and CSS not PHP? This is what confuses me the most. Not much of a detailed explanation from Olivia on that part.

If a new method is figured out you will be doing a lot of database search and replaces.

I get your issue completely. I am trying to find a solution that can be used going forward. I would not hold out hope of any solutions for the columns we have used. I don't understand how PHP affects this though. Aren't the columns JS and CSS not PHP? This is what confuses me the most. Not much of a detailed explanation from Olivia on that part. If a new method is figured out you will be doing a lot of database search and replaces.
You must log in or register to leave comments