MWDelaney / bootstrap-3-shortcodes

WordPress shortcodes for easier use of Bootstrap elements in your content.
https://wordpress.org/plugins/bootstrap-3-shortcodes/
MIT License
377 stars 118 forks source link

[table-wrap] error #100

Closed simoami closed 9 years ago

simoami commented 9 years ago
Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given in /home/user/public_html/wp-content/plugins/bootstrap-3-shortcodes/bootstrap-shortcodes.php on line 2005

$doc->saveHTML(); this instance method does not take parameters. You probably used the class version.

MWDelaney commented 9 years ago

Hi. I can't seem to reproduce this issue; can you post the shortcode and its contents from your WordPress editor so I can see exactly what you're doing?

simoami commented 9 years ago

@MWDelaney Quoting the documentation on saveHTML:

public string DOMDocument::saveHTML ([ DOMNode $node = NULL ] )

Changelog: 5.3.6 The node parameter was added.

I happen to have a version of php inferior to 5.3.6. so the input parameter was not supported back then.