I’d try the activate other themes (twentyfifteen and twentyfourteen) and deactivate all other plugins and the problem persists.
I see, the link does result in a 500 internal server error.
The plugin shouldn’t do anything that would cause this, and the last update was very minor. One thing I can imagine is that the plugin update process might have been interrupted for some reason. In that case, I would recommend deleting the plugin folder, and install it again.
Just to confirm – does the issue disappear when you disable the plugin, and appear when you activate it?
Hello,
Yes. The only way to the error doesn’t occurs is when I disable the plugin. I already try to delete and install again, but still persists the issue.
Thank you for checking – so it looks like this plugin is the issue. I have not seen it before, so I’d like to find out how it’s happening.
Do you get 500 errors for the whole site (admin panel and frontend) or on specific pages? And are you using any shortcodes on those pages? Another thing you could try is to go to Settings and disable the modules one by one. It would be helpful to narrow down the problem area.
Actually, it’s a One Page hotsite. The index loop return some other pages. I test now and found out that just the pages with custom shortcodes get the error. And the admin panel works fine too. I’d test too disable all modules in Settings, but still nothing.
I’d glad if the issue was solved, but for now, I’ll try create the necessary custom shortcodes via functions.php.
I see, so some shortcode must be causing it – could you tell me which code you’re using on the pages which return the error?
Hello Eliot,
I just noticed the issue. This is the page content tha causes the problem:
<div id=”servicos”>
[loop type=”servico” count=”3″ style=”background-image: url([content field=’image-url’]);”]
<div class=”col-md-4″>
<h3 class=”sectionTitle”>[field title]</h3>
<div class=”fancybox-hidden” style=”display: none;” id=”{ID}”>[loop id={ID} count=”1″][content][/loop]</div>
</div>
[/loop]
</div>
This page is in 500 error and this is part of homepage loop. The question is: has something wrong in code above? Just to remember, before used to works fine the same code. I don’t change anything before the error. Could you verify anything wrong, please? The page is: http://sergiomottadesign.com.br/_prsa/nossosservicos/
Ahh, I see – it’s probably the [loop] inside a [loop] that’s causing this. Shortcodes of the same name cannot be nested, due to how WordPress processes them. I think the inner [loop] is not necessary – it’s the same post that the parent loop is pointing to, so instead of:
[loop id={ID} count="1"][content][/loop]
you should be able to just call [content].
Also, [loop] doesn’t have a style parameter – perhaps it’s meant to be on the <div>. You could write it as:
<div class="col-md-4" style="background-image: url([field image-url])">
In the next plugin update, I’ll try to add support for nested [loop] – but, in most practical cases, it shouldn’t be necessary.