Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eysikal

    (@eysikal)

    Here is a screenshot of the plugins I have installed.

    Deactivating the plugins did not fix the automatic insertion issue.

    Here is the console output when I try to auto insert:

    1) On page load before hitting anything: screenshot
    2) After typing in tweet text: screenshot
    3) After clicking “Insert Shortcode” button: screenshot

    One thing that may be noteworthy is that I’m using WordPress version 4.2.4 . I’m not on the latest. I did try installing a fresh copy of the latest WordPress with no other plugins installed besides Tweet This and it functioned perfectly.

    Hopefully this can help in some way.

    Thread Starter eysikal

    (@eysikal)

    Thanks for the update.

    The new version got rid of the errors I encountered above.

    Unfortunately, the automatic insertion method doesn’t seem to work on my wordpress instance (nothing happens after filling out the form and hitting the “insert shortcode” button. No js error either). I have fallen back to the copy/paste option, which will work for our needs.

    Thread Starter eysikal

    (@eysikal)

    Sounds good.

    Any idea when that update might be released?

    Or perhaps some hints on how to get around the errors currently? Would love to use it now.

    Thread Starter eysikal

    (@eysikal)

    Ok, I’ve done some more digging and I think I’ve uncovered the source of the problem.

    Here is the console when I load the Add New post page:

    screenshot here

    Uncaught SyntaxError: Unexpected token <    post-new.php:85
    Tweet This :: TinyMCE Plugin File Loaded    tinymce-plugin.js?wp-mce-4109-20150505:4
    (2)Tweet This :: TinyMCE Plugin Init    tinymce-plugin.js?wp-mce-4109-20150505:10
    Tweet This :: Error retrieving dialog box data directly. Trying fallback AJAX method.    tinymce-dialog.js?ver=4.2.4:788
    Tweet This :: Error getting shortcode creator dialog box data using AJAX.    tinymce-dialog.js?ver=4.2.4:788
    Tweet This :: AJAX error message: SyntaxError: Unexpected token <    tinymce-dialog.js?ver=4.2.4:788
    Tweet This :: Unrecoverable error.  Reporting problem to user and dying.    tinymce-dialog.js?ver=4.2.4:788

    When I click into the post-new.php:85 error I get this:

    screenshot here

    jQuery(document).ready(function() {
    <br />
    <b>Notice</b>:  Undefined variable: url in <b>/Users/benrussell/Sites/work/domonew.dev/public/blog/wp-content/plugins/tweet-this/includes/tools.php</b> on line <b>215</b><br />
    <br />
    <b>Notice</b>:  Undefined index: insert_shortcode_behavior in <b>/Users/benrussell/Sites/work/domonew.dev/public/blog/wp-content/plugins/tweet-this/includes/tools.php</b> on line <b>234</b><br />

    So it looks like there are a couple of errors in the tools.php file that are causing the javascript to take a dump when it sees the .

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