Is Interacting With view smart contract functions differs from other smart contract functions

I have written a smart contract and deployed to ropsten testnet but I can only interact with one function

see my smart contract functions
CreatePost Function

function createPost(string memory ipfsHash, string memory text) public{
        address user = msg.sender;
        Post memory newPost = Post(nextPostId, ipfsHash,text,user);
        posts.push(newPost);
        nextPostId += 1;
        emit PostCreated(nextPostId -1,  ipfsHash, text, user);
    }

GetPosts Function

 function getPosts() public view returns(Post[] memory){
        return posts;
    }

When I interact with CreatePost Works I pass parameters
front-end code to interact with create post function

 async function post(){
  const options = {
    abi: myABI,
    contractAddress:'0xAbEd40f031918D090c11a3ac4Bee9af76fB35cD4',
    functionName: "createPost",
    params: {
      ipfsHash: myIpfs,
      text: textComment,
      userName: account,
    },
  }
  await contractProcessor.fetch({
    params: options
   })
 }

Bu when I interact with getPosts function nothing happen
no error no success no metamask popup

front-end code to interact with getPosts function

 async function getNewPosts(){
    let options = {
      abi : myABI,
      contractAddress:'0xAbEd40f031918D090c11a3ac4Bee9af76fB35cD4',
      functionName: "getPosts",
     
   }
     await contractProcessor.fetch({
       params: options
      })
    }

I did not include the parameter because it is a view function

view or read-only smart contract function doesnโ€™t make any transaction but it will return data from the hook, you can try console.log contractProcessor.data

thankfully I tried to run the console but I think on Smart contract deployment there was something I did wrong I could not fetch posts
**I ran **

onError

and got this Error

Function does not exist in abi

How does your ABI looks like?

sorry for the late reply is due to health challenges
ABI

"abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "ipfsHash",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "text",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "PostCreated",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "posts",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "id",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "ipfsHash",
          "type": "string"
        },
        {
          "internalType": "string",
          "name": "text",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "ipfsHash",
          "type": "string"
        },
        {
          "internalType": "string",
          "name": "text",
          "type": "string"
        }
      ],
      "name": "createPost",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],

this abi doesnโ€™t seem to contain getPosts

i will re-migrate SC today getPosts will Be Included TY :mechanical_arm: