• Resolved lodoubleg

    (@loqee)


    hello,

    this is the error log after trying to replace data in a post meta table.

    Plugin: 2.4.1
    WordPress: 5.8.3 (single)
    PHP: 7.4.26 500M 300s
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36
    JavaScript: ****/wp-content/plugins/search-regex/search-regex.js
    REST API: *****/wp-json/
    Query: ?page=search-regex.php&searchphrase=mutter2&source%5B%5D=comment&source%5B%5D=options&source%5B%5D=user&source%5B%5D=post-meta&source%5B%5D=comment-meta&source%5B%5D=user-meta&source%5B%5D=posts
    
    Action: ****/wp-json/search-regex/v1/replace/ POST
    Params: {"searchPhrase":"mutter2","searchFlags":["case"],"source":["comment","options","user","post-meta","comment-meta","user-meta","posts"],"sourceFlags":[],"replacement":"mutter","perPage":50,"replacePhrase":"mutter","offset":"0"}
    Code: 500 Internal Server Error
    
    Error: Failed to update meta data: post (searchregex)
    Raw: {"code":"searchregex","message":"Failed to update meta data: post","data":null}

    the data is in the post meta table because the site is made with oxygen builder.

    the thing is that the data is replaced successfully, but this error is shown at the top of the page.

    rest api status is good and i have no caching active.

    any idea whats going on?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lodoubleg

    (@loqee)

    oh yes. i forgot to add that the error.log and php_error.log are empty.

    Thread Starter lodoubleg

    (@loqee)

    actually its not completely working. it replaces a few rows (the first ones i guess), but stops in the middle, leaving a few rows unchanged). so if the job is big, it will not replace all rows, but if its just a few rows, it will replace all. still i get the error every time.

    i tried another plugin and it works there. still i would prefer your plugin ??

    is the 3.0 beta safe to use?

    • This reply was modified 3 years, 1 month ago by lodoubleg.
    • This reply was modified 3 years, 1 month ago by lodoubleg.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Server Error 500, but working?’ is closed to new replies.