Acts 15's Council at Jerusalem was initially to be an inquiry on the subject of circumcision, "certain individuals" who "came down from Judea", one would imagine these were fellow disciples and not unbelieving Jews as their insistence on circumcision lead to a trip to Jerusalem to seek out the wisdom of James/Jacob, who clarifies though the individuals were disciples they were were not under instruction from Jerusalem, and doesn't impose circumcision on the non Jewish disciples.
However, James consults with the Holy Spirit, "28. For it seemed good to the Holy Spirit and to us to impose on you no further burden than these essentials : ...
It also calls the following Decree "Essential":
Acts 15:29... :that you abstain from what has been sacrificed to idols and from blood and from what is strangled and from fornication. If you keep yourselves from these, you will do well. Farewell. "
Paul and Barnabas part ways at 15:36-41, because Barnabas would not go without John Mark and Paul would not allow him to come, refusing to forgive Mark for deserting him in Pamphylia.
1 Corinthians 8 Now concerning food sacrificed to idols : we know that "all of us possess knowledge." Knowledge puffs up but love builds up. 2. Anyone who claims to know something does not yet have the necessary knowledge ; 3. but anyone who loves God is known by him. ...
Other than the first five words, that paragraph has no relation to eating idol meat specifically, Paul seems to be pitching a higher "gnosis" of sorts.
Hence, as to the eating of food offered to idols, we know that "no idol in the world really exists," and that "there is no God but one." 5. Indeed, even though there may be so called gods in Heaven or on earth ----as in fact there are many gods and many lords---- 6. yet for us there is one God, the Father, from whom are all things and for whom we exist, and one Lord, Jesus Christ, through whom are all things and through whom we exist. ...
It is not everyone, however, who has this knowledge. Since some have become so accustomed to idols until now, they think of the food they eat as food offered to an idol; and their conscience, being weak, is defiled. 8 "Food will not bring us closer to God."
We are no worse off if we do not eat, and no better off if we do. But take care this liberty of yours does not become a stumbling block to the weak.
Paul fails to mention that he is discussing something he previously agreed he would ensure his pupils would adhere to, and teach that eating idol meat was forbidden and this essential.
Instead he grants them the 'liberty' of eating meat sacrificed to idols, because it's harmless and not beneficial, but they were to be cautious of becoming a stumbling block to "the weak."
I think we should be able to agree with Jesus if he clarifies the issue, and he does, in Revelation 2:14:
Message to Pergamum
".... But I have a few things against you : you have some there who hold to the teaching of Balaam, who taught Balak to put a STUMBLING BLOCK before the people of Israel, so that they would eat food sacrificed to idols and practice fornication."
Like Balaam, Paul taught people to eat meat sacrificed to idols, and is the only person in the New Testament that we can say did this, who says so himself.
Jesus held something against Paul as he did the others whose identity we don't know. We do know factually it was a condemnation of the teaching, by the Messiah himself, so Paul did not receive it from God or Jesus.
I won't speculate where Paul learned this "knowledge" he speaks of that makes sin not sin, which is exactly what he did, I won't speculate why.
I will just ask was Paul wrong and thus guilty of penning uninspired writings?
Is there another option that doesn't require a long explanation for a simple matter of God saying don't ever, Paul saying do sometimes? A classic case of right and wrong is apparently what we have.