Shortcode [words=] and Divi Pagebuilder…
-
Hi,
I use the Pagebuilder by Divi in some Posts in the whole network.
If I use the shortcode [… words=50], the result site shows unfortunately parts of the pagebuilder code too (and the text/picture of the post only afterwards).
Could this be a general problem or is it a special problem of my installation?
And Can you do something about it?bye
-
The latest version of the plugin (updated yesterday, version 1.21) is better about replacing the shortcode with the posts. It used to put the shortcode content at the top of the post, and any page/post content afterwards. Fixed that; so are you using the latest version?
If all is working well, the plugin should be replacing where the shortcode is with the posts content.
If using the latest version of the plugin, have you seen the same thing without any shortcode parameters?
I use the latest version 1.21.
Only if I set the parameter [word] the error occurs.And there is a small bug in the title at the date, the bracket is not closed ?? (after the edit pencil)
I just tested it with this shortcode:
this is text before
[mpr_display words=12 ]
this is text afterAnd it worked fine. Although I did see the extra left parenthesis there. The
[mpr_display]
also worked with the full content.[mpr_display words=50]
also works fine.I’ll fix the left parenthesis problem in a bit. But can’t duplicate your problem, so assume that it is some other plugin/process.
Maybe I need to adjust the priority of the shortcode function. Let me fix that and the parenthesis. Should be ready shortly.
- This reply was modified 7 years, 3 months ago by Rick Hellewell.
OK. Just uploaded version 1.22, should show up in a little bit.
Version 1.22 fixed the missing parenthesis, and changed the priority of the function to ‘999’ from the default of 10.
Let me know if that makes a difference.
Excellent!!!
PS:
In my installation, it shows every shortcode, not just the pagebuilder’s, but also the Multisite Post reader. Could it have something to do with the excerpt settings of the theme?New version 1.22 produces a white screen in backend and frontend
Hmm….I don’t see that on my test installation. Can you post the last several lines of the error.log file?
Just uploaded version 1.23. Fixed possible white screen that depends on site error settings.
If you still have problems, the last several lines of the error.log file would be helpful.
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showall – assumed \’showall\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 448
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showdivider – assumed \’showdivider\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 434
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showall – assumed \’showall\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 431
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showall – assumed \’showall\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 429
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant words – assumed \’words\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 426
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant words – assumed \’words\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 424
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant days – assumed \’days\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 421
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant days – assumed \’days\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 419
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant items – assumed \’items\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 414
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showempty – assumed \’showempty\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 405
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant domain – assumed \’domain\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 349
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant path – assumed \’path\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 348
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 340
[10-Aug-2017 22:06:03 UTC] PHP Notice: Undefined index: includesites in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant includesites – assumed \’includesites\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 339
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant showall – assumed \’showall\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 315
[10-Aug-2017 22:06:03 UTC] PHP Notice: Use of undefined constant words – assumed \’words\’ in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 306I use v1.23
Aug 10, 22:31:38
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /homepages/42/d158154337/htdocs/Pirling/wp-content/plugins/multisite-post-reader/multisite-post-reader.php on line 581
Aug 10, 22:31:38
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in /homepages/42/d158154337/htdocs/Pirling/wp-includes/functions.php on line 3721
Aug 10, 22:31:38
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32768 bytes) in Unknown on line 0
Log file: /homepages/42/d158154337/htdocs/Pirling/wp-content/debug.log (66.22 MiB) Clear Logdo you have wp_debug set true? those are just ‘warning’ errors, and not really ‘hard’ errors.
Look for this in wp-config.php:
define('WP_DEBUG', true);
It is normally
define('WP_DEBUG', false);
on production sites.
Hi Rick
I have reinstalled the plugin today and now I get a http error 500 in the dashboard if i try to publish a post with the shortcode [mpr_display]Have you seen the fatal php error list above I send to you two days ago?
I have a multisite test area that I use. I used the network admin page to deactivate and remove the plugin. Then I reinstalled via the Add Plugins page, and activated it. Then I went to my main site (site ‘1’) and created a post with just the
[mpr_display]
shortcode. Published the page, and then viewed it. All worked just fine.I did respond to your error messages; two messages up from this one, talking about the
WP_DEBUG
setting on your system.A ‘500’ error can be many things; hard to tell without looking at the error logs.
Suggest you first ensure that
define('WP_DEBUG', false);
is in your wp-config.php . Then close your browser (or open up a different browser in ‘incognito’ mode), and test things there. Report back on any error messages. You might also try a complete deactivate/delete/reinstall.Thanks.
- The topic ‘Shortcode [words=] and Divi Pagebuilder…’ is closed to new replies.