PHP Classes

Getting the following errors

Recommend this page to a friend!

      eiseXLSX  >  All threads  >  Getting the following errors  >  (Un) Subscribe thread alerts  
Subject:Getting the following errors
Summary:Use of depreciated functions
Messages:6
Author:Larry Wakeman
Date:2016-08-01 20:03:15
 

  1. Getting the following errors   Reply   Report abuse  
Picture of Larry Wakeman Larry Wakeman - 2016-08-01 20:03:15
Deprecated: Function split() is deprecated in ...\includes\eiseXLSX.php on line 746

Deprecated: Function split() is deprecated in ...\includes\eiseXLSX.php on line 749

Warning: eiseXLSX::getElementPosition() [eisexlsx.getelementposition]: Node no longer exists in ...\includes\eiseXLSX.php on line 1033

  2. Re: Getting the following errors   Reply   Report abuse  
Picture of Ilya Eliseev Ilya Eliseev - 2017-01-20 09:21:14 - In reply to message 1 from Larry Wakeman
Hi,
it is already updated at 'dev' branch that available on GitHub. Master branch and next version with some improvements will go live very soon. Stay tuned & best regards
-Ilya

  3. Re: Getting the following errors   Reply   Report abuse  
Picture of Larry Wakeman Larry Wakeman - 2018-10-08 21:36:09 - In reply to message 2 from Ilya Eliseev
Ilya,

Just downloaded latest version here, still getting (Wordpress, PHP 7.1)

Fatal error: Uncaught Error: Call to undefined function split() in {{location}}\objects\eiseXLSX.php:871
Stack trace: #0 {{location}}\objects\eiseXLSX.php(149): eiseXLSX->getPathByRelTarget('/xl/_rels/workb...', 'styles.xml')
#1 {{location}}\objects\dmc_user_admin.php(364): eiseXLSX->__construct('C:/Users/larry/...')
#2 {location}\wp-includes\class-wp-hook.php(286): dmc_user_admin->DMC_export('')
#3 {location}\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#4 {location}\wp-includes\plugin.php(453): WP_Hook->do_action(Array)
#5 {location}\wp-admin\admin.php(224): do_action('dmc-user-listin...')
#6 {main} thrown in {{location}}\objects\eiseXLSX.php on line 871

I am trying to upgrade the site to PHP 7.1




  4. Re: Getting the following errors   Reply   Report abuse  
Picture of Larry Wakeman Larry Wakeman - 2018-10-08 21:42:47 - In reply to message 3 from Larry Wakeman
and line 874

also:

Deprecated: Non-static method eiseXLSX::letter2index() should not be called statically in C:\Users\larry\Projects\larrywakeman\www\wp-content\plugins\dmc-user-list\objects\eiseXLSX.php on line 1305

Notice: Only variables should be assigned by reference in C:\Users\larry\Projects\larrywakeman\www\wp-content\plugins\dmc-user-list\objects\eiseXLSX.php on line 1129

Notice: Only variables should be assigned by reference in C:\Users\larry\Projects\larrywakeman\www\wp-content\plugins\dmc-user-list\objects\eiseXLSX.php on line 205

Notice: Only variables should be assigned by reference in C:\Users\larry\Projects\larrywakeman\www\wp-content\plugins\dmc-user-list\objects\eiseXLSX.php on line 229


  5. Re: Getting the following errors   Reply   Report abuse  
Picture of Ilya Eliseev Ilya Eliseev - 2018-10-09 14:28:52 - In reply to message 4 from Larry Wakeman
Hello Larry,

thanks for this error report. Will prepare a patch soon.

Kind Regards,
-Ilya

  6. Re: Getting the following errors   Reply   Report abuse  
Picture of Larry Wakeman Larry Wakeman - 2018-10-09 17:38:26 - In reply to message 5 from Ilya Eliseev
also line 1690, change to

if(isset($remove) && $remove) {