Inline Record Editor

By wevolutions - January 11, 2020

I have a Plugin named "Inline Record Editor" which allows editing of records directly from the section listing page. See attached file.

Since upgrading to php 7.3, this plugin has stopped working.

Can someone please take a look and give me an update on how to get this fixed please.

Note: This was provided for me directly by interactive tools a few years ago.

Thank you.

Attachments:

inlineEditing.php 6K

By wevolutions - January 13, 2020

Thank you for responding. Here is what I got from the Legacy MySQL Scanner:

/inlineEditing.php

  • mysql_error - replace with: mysqli()->error;
  • mysql_query - replace with: mysqli()->query(...);

Let me know how to proceed please.

By Deborah - January 14, 2020

In the file you provided, try changing line 60 as shown:

WAS:
mysql_query( $query ) or die( 'Could not execute bulk update: ' . mysql_error() );

CHANGE TO:
mysqli()->query( $query ) or die( 'Could not execute bulk update: ' . mysqli()->error() );

That works for me.

~ Deborah

By wevolutions - January 14, 2020

Thank you Deborah! It works! Much appreciated.