Support Forum

Error using the blog linking plugin

KV kvr28
kvr28
Member

any ideas or suggestions? Going to paste the whole thing here

wp-content/sp-resources/forum-plugins/blog-linking/sp-linking-plugin.php
line: 148
function: sp_update_blog_link
error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND post_index=1 /* From [thehomesteadingboards.com/wp-admin/post.php] in [/nas/’ at line 1

UPDATE rufus_sfposts SET post_content=’Here is a an easy stirfry recipe for those on the go.  An easy stirfry is a great way to stretch your food budget dollars with a high quality and filling meal with just a couple of ingredients. Start by slicing;

  • 1 zucchini
  • 1 carrot
  • 1 red pepper
  • 1 green pepper
  • 1/2 an onion

Throw that in a saute pan with some butter. Let that cook down. Add 12 ounces of cooked chicken, canned worked as a great substitute. To make the sauce you need some supplies.

  • 1/4 cup of soy sauce
  • 1/4 cup of Apple cider vinegar
  • 3 tbsp of ketchup
  • 2 tbsp sugar
  • teaspoon of ground ginger
  • 2 tbsp gran garlic,
  • 3 tbsp of corn starch
  • 2 tsp of red pepper flakes

Dump the ingredients into a bowl. Mix it well, you do not want any cornstarch clumps. Dump the sauce into the saute pan and get your rice water boiling. You usually want a two to one mixture of water and rice. Keep stirring the vegetables and chicken while you add the rice to your boiling water. Once the rice is done, dinner is served. The corn starch really thickens up the veg and chicken, this can be adjusted to fit your tastes and needs. Share any easy stirfry recipes you may have, happy cooking!  ‘ WHERE topic_id= AND post_index=1

7 Answers

New Answer

MP Mr Papa
Mr Papa
Member

can you explain further???  are you having problems?  or just seeing that error in your log???

for reference, we see that here occasionally too, but everything works fine…  we have been unable to determine why that error occurs sometimes…

but want to make sure its same for you- everything working…  we continue to research it, but the error seems to happen when we cannot trap the situation and debug…

KV kvr28
kvr28
Member

same, just showed as an error so I wanted to report it, everything seems to be working fine though, as a side note it also seems to show up every time I try and edit a blog post, even if I don’t edit the the forum post

MP Mr Papa
Mr Papa
Member

yes, probably because you have keep it updated set to true…  same for us…  the error is obvious, we just cant ‘see’ it happen to know where its coming from… its an extraneous update attempt since the update itself does happen…

KV kvr28
kvr28
Member

noticed this a notice after I posted it, not sure if it helps

12 Dec ’15 7:05 pm | spaErrNotice | 1 | php

file: tent/live/kvr28/wp-content/sp-resources/forum-plugins/blog-linking/library/sp-linking-blog.php
line: 221
function: sp_update_blog_link
Notice | Trying to get property of non-object

12 Dec ’15 7:08 pm | spaErrNotice | 6 | php

file: tent/live/kvr28/wp-content/sp-resources/forum-plugins/blog-linking/library/sp-linking-blog.php
line: 35
function: sp_save_blog_link
Notice | Undefined index: sfedit

MP Mr Papa
Mr Papa
Member

are you not running the latest?  line 221 on first doesnt make sense (its a blank line)…  and indirectly related to the error which occurs on line 224… but how we get here is the question…

the second one is a harmless notice.. but will get it fixed up…

KV kvr28
kvr28
Member

just noticed the new sp updates and all the plugins, will update and see if it happens again.