Support » Plugin: WP Data Access » Editing pages with shortcode wpdiehard always gives me an Error

  • Resolved rosaliehubner

    (@rosaliehubner)


    Hi,

    I’m trying various things to be able to edit pages using the shortcode wpdiehard
    I only have WP Data Acces plugin 2.7.1 installed with Twenty Twenty Theme.

    I have this simple table:
    test_counter bigint(20) primary key auto_increment
    test_name varchar(50)

    I filled it with some sample data

    I created a project with a single page, everything is default.
    Saved Changes To Database

    Added the shortcode [wpdadiehard project_id=”14″ page_id=”68″] to a page and Published it.

    Viewing the page is okay
    Editing doesn’t work: ERROR: Wrong arguments [missing primary key value]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Peter Schulz

    (@peterschulznl)

    Hi Rosalie,

    Looks like you have done everything perfectly right! When I follow your steps the page is working fine. Did you define some table options for this table? If yes, what happens if you delete these options? Is not, can you send me an export of your table and your project? Thanks!

    Best regards,
    Peter

    Plugin Author Peter Schulz

    (@peterschulznl)

    Hi Rosalie,

    Hope you solved the problem! I’m closing this topic. Please let me know if you have any questions or need assistance.

    Best regards,
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.