• Resolved Robswaimea

    (@robswaimea)


    Theme Twentyfourteen…

    I updated the other day… from version.. approx 1.30… to 2.0.10 .

    Just a basic straight forward [php snippet=23 param="venue=somethinghere"]

    and thusly not putting the param through.
    I read the other support post about a similar issue.. don’t know if they have tried the new update or something funky my end.

    I have the older version 1.30 running on my local development machine and it works fine.
    Maybe I down grade to 1.30 on my “live” machine ? until a fix ?

    Thanks for you plugin and attention to this situation.

    https://www.ads-software.com/plugins/php-code-for-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Robswaimea

    (@robswaimea)

    I dropped in my 1.30 version on my live site.. and all is back to normal.

    Not to long ago…
    I had previously, on the live site, upgraded from 1.30 version to xxxx that caused the backslash problem.
    Yesterday I went to edit some code…
    discovered the backslash problem.. saving of the code resulted in the backslash problem.
    Then updated to the 2.0.10. Backslash problem resolved.
    And today I discovered the “param” not being passed.
    Not sure if this progression of events helps.

    None the less thanks for your plugin and all the work you have done.

    Thread Starter Robswaimea

    (@robswaimea)

    After reading some more support topics.. thought I’d explain a little more..

    Basically, as a stand alone PHP file…
    The parameter would be passed in an URL…
    ie: somewebsite/phpfile.php?venue=somewhere

    All works well as a stand alone file…
    And all works well in version 1.30 using the shortcode.

    Thanks again for your attention to this situation.

    Plugin Author Jamie Fraser

    (@thejfraser)

    Hi Robswaimea,

    What code are you using to access the parameters themselves in your snippet?

    Cheers

    Thread Starter Robswaimea

    (@robswaimea)

    I just started passing parameters in the last month… so I hadn’t any experience with your plugin using them.
    Although I have been using your plugin successfully for the last year otherwise.

    My stand alone script would use in the URL ?venue=somewhere
    Thus venue would be the variable $venue in my snippet.

    So in my snippet… using plugin version 1.3 it worked without any adjustment to my “stand alone” script… except for taking out the
    $venue = $_GET['venue']; for use with your plugin.

    My apologies for my inexperience with you plugin… after reading a bunch of other support threads.. it may very well be, with my updates to the newer version(s).. I need to use in my snippets something like this…

    `$venue = $_parameters[“venue”];’ which would be the comparable use of
    $venue = $_GET[‘venue’]; in my stand alone code.

    I was delighted to find out that dropping back in the previous version, for me, fixed the problem. And considering how many people are using your plugin and nobody else has reported the problem… it’s the old…
    “Pilot error… not the builder of the airplane…” scenario.

    Maybe an upgrade to the core WP during the last month needs me to add the extra $venue = $_parameters[“venue”]; code.. or maybe the upgrades to your plugin requires it.
    At least it is not a fatal error ??

    Thanks again for your support and time on this issue.

    Thread Starter Robswaimea

    (@robswaimea)

    Once again thanks for your time and my apologies for not being familiar with the parameters.

    On my local development machine… (latest version of plugin).
    Using the proper method for the parameters in the snippets…
    $venue = $_parameters[“venue”];

    Resulted in success.
    Marked as resolved and “pilot error.”

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parameters not being passed (again) after update..’ is closed to new replies.