• Resolved kerms

    (@kerms)


    Hello,

    I installed the plugin and chose the manual setting. I then added <?php mashsharer(); ?> in my single.php file where I wanted the sharing icons to appear, but I get the error below. Any suggestions?

    Warning: Missing argument 2 for mashsharer::mashsharerShow(), called in /home/directory/site/wp-content/plugins/mashsharer/mashsharer.php on line 214 and defined in /home/directory/site/wp-content/plugins/mashsharer/class.mashsharer.php on line 89

    Thanks!

    https://ww.wp.xz.cn/plugins/mashsharer/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error when adding PHP code to single.php’ is closed to new replies.