Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #12134

    Hey there,

    For some reason i can’t use the shortcodes;

    I went with firebug over the shortcode pop-up window and it says “Missing argument 2 for add_action …

    You can see it in this picture:

    I don’t know anything about php so, i really need help with this one, besides that, i love the theme.

    This is the dialog.php file, maybe it helps…


    $paths = array(













    #include wordpress, make sure its available in one of the higher folders

    foreach ($paths as $path)


    if(@include_once($path.'/wp-load.php')) break;


    $shortcode_css = AVIA_BASE_URL.'css/shortcodes.css';

    if(!current_user_can('edit_posts')) { die(""); }


    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

    <html xmlns="">




    <div id="scn-dialog">

    <div id="scn-options">

    <h3>Customize the Shortcode</h3>

    <table id="scn-options-table">


    <div style="float: left">

    <input type="button" id="scn-btn-cancel" class="button" name="cancel" value="Cancel" accesskey="C" />


    <div style="float: right">

    <input type="button" id="scn-btn-preview" class="button" name="preview" value="Preview" accesskey="P" />

    <input type="button" id="scn-btn-insert" class="button-primary" name="insert" value="Insert" accesskey="I" />



    <div id="scn-preview" style="float:left;">


    <iframe id="scn-preview-iframe" frameborder="0" style="width:100%;height:250px" ></div>


    <script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/column-control.js";?>"></script>

    <script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/tab-control.js";?>"></script>

    <div style="float: right"><input type="button" id="scn-btn-cancel"

    class="button" name="cancel" value="Cancel" accesskey="C" /></div>


    <script type="text/javascript" src="<?php echo AVIA_PHP_URL."avia_shortcodes/tinymce/js/dialog.js";?>"></script>







    If nobody can help me, i need at least all shortcodes, so i can insert them manually…




    Hi, Ive got the same issue using the latest version of wordpress 3.3.2. My previous install is fine on wordpress 3.3.1. Any suggestions anyone?

    many thanks


    Same for me too, Anyone?


    Hi All,

    Can you try going through the list I posted here in regards to getting the shortcode functionality to work:

    You can use the code in this link in your visual editor to get a list of all shortcodes:

    It seems like the issue might be a bit more widespread now so if we can find a common cause hopefully a fix will follow shortly :)





    in addition to devins suggestion: please update your theme to the latest version! We have added a lot of shortcode fixes lately so your issues might be solved by one of those :)



Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘SHORTCODE ISSUE (Missing Argument..)’ is closed to new replies.