Jump to content

anydes

New Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by anydes

  1. @gw1500se, i'm sorry i dont really know what you are suggesting? do you recommend I add code somewhere? If so, can you be more specific?
  2. thanks, gw1500se Any idea on how I can fix?
  3. here's the code from shortcode-handler.php. (from xyz insert php snippet plugin) here is screenshot of actual error message:
  4. soory, i'm a noob to php development. where can i find the php handler?
  5. After recent updates to a wordpress site (updated non-related plugins, changed theme), the php code snippets are shooting back an error at the end of the feeds -- which were previously working fine for years. no other changes were made. Error Message: URL: https://usafact.org/benefit/vision-care-discounts/ PHP code: function do_post($url, $params) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); $result = curl_exec($ch); curl_close($ch); return $response; } echo do_post("https://content.newbenefits.com/Feednocss.aspx", "hash=hDSJYjIb56KfGtxWE0I3OQ&Section=short_b2c"); The plugin developer said to replace $response with $result, but that did not work. Same error shows. Can someone please assist?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.