I can’t add a new embed. I am running PHP 7.4.11 and WordPress 5.6. I have no other plugins running on my WordPress install.
How to replicate the bug:
“Default” is the default group name. There is also a PHP warning:
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in C:\Users\arb\Documents\localhost\wordpress\wp-content\plugins\embedder\emb-admin.php on line 917
See screenshot below:
On PHP 7.3 and newer this warning shows up:
Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in public_html/wp-content/plugins/embedder/nbbc-1.4.5/nbbc.php on line 215 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in public_html/wp-content/plugins/embedder/nbbc-1.4.5/nbbc.php on line 227 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in public_html/wp-content/plugins/embedder/nbbc-1.4.5/nbbc.php on line 231
]]>This plugin run under PHP7, produces error:
Warning: Use of undefined constant EmbAdminAjax - assumed 'EmbAdminAjax' (this will throw an Error in a future version of PHP) in public_html/wp-content/plugins/embedder/emb-admin-ajax.php on line 33
Quick fix:
on line 33 of emb-admin-ajax.php find line:
$methods = get_class_methods(EmbAdminAjax);
and replace with
$methods = get_class_methods('EmbAdminAjax');
Hi. I’m just trying out the Embedder plugin. It looks like a great plugin, but I can’t get it to work as expected.
1) Checking the “Use the new Embedder parser” seems to do nothing. It doesn’t stay checked (there is no ‘save’ settings button). Each time I return to the Manage Embeds screen it is unchecked again.
2) Checking the “Wrap the HTML in a div or span” doesn’t allow me a place to select div or span option, and doesn’t offer a place to add classes.
Then in the output the result is:
‘<span class style >my content</span>’
rather than:
‘<span class=”classname”>my content</span>’
(actually I would prefer a div over a span)
3) I created an Embed named check_out_link with the content shown below using a shortcode from another plugin inside an Embed (using j-shortcodes to create a button), along with some PHP for another conditional link:
‘[jbutton size=”medium” color=”blue” rounded=”yes” link=”/myaccount/”]Your Account[/jbutton]
…some PHP…’
I’m sticking the Embed shortcode [check_out_link] inside an Advanced Text Widget which I use a lot since it supports shortcodes from many other plugins.
The output is that the actual j-shortcodes shortcode is printing to the screen rather than rendering the parsed code. In addition, it is bracketted by “” quotes in the output (renders that way with or without the wrap applied):
‘”
[jbutton size=”medium” color=”blue” rounded=”yes” link=”/myaccount/”]Your Account[/jbutton]
”’
I’m experiencing all of these issues on more than one website, so I’m pretty sure it isn’t another plugin (although I haven’t fully tested for that).
Thanks for your help.
Jeff
The Embedder plugin is great, but only Admins can access the admin page. I have a bunch of Editors that need to use Embedder, but they cannot create new embeds or access old ones.
Any advice?
Tks!
]]>Hi I’m using your plugin and I have buddypress installed as well.
When someone tries to leave a comment on a post they are brought to a blank page with a warning. The comment still goes through, but I dont want users seeing this.
]]>Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/f/l/o/flowers999/html/thecampuscrown.com/splash/wp-content/plugins/embedder/nbbc-1.4.5/nbbc.php on line 1106
Warning: Cannot modify header information – headers already sent by (output started at /home/content/f/l/o/flowers999/html/thecampuscrown.com/splash/wp-content/plugins/embedder/nbbc-1.4.5/nbbc.php:1106) in /home/content/f/l/o/flowers999/html/thecampuscrown.com/splash/wp-includes/pluggable.php on line 890