Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: PHP 8 issue with version 4.2.13

  1. #1
    Thread Starter
    Expired Customer dmmatheson's Avatar
    Join Date
    Apr 2020
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    PHP 8 issue with version 4.2.13

    Hello...

    Not sure if this is a known issue or not. I just updated our website and am having issues with the order-meta.php script throwing errors. I've made sure that the theme that is up there is identical to what is in the download zip file (md5sum on all the php).

    The error has to do with array_slice.

    I was able to fix this by adding (int) in front of the $length variable on line 108. The error breaks user editing page so there's no submit button.




    PHP Fatal error: Uncaught TypeError: array_slice(): Argument #3 ($length) must be of type ?int, string given in /#######/wp-content/themes/appthemes-vantage/includes/payments/admin/order-meta.php:108

    Stack trace:
    #0 /#######/wp-content/themes/appthemes-vantage/includes/payments/admin/order-meta.php(108): array_slice(Array, 0, '')
    #1 /#######/wp-includes/class-wp-hook.php(303): APP_Connected_User_Orders::display(Object(WP_User) )
    #2 /#######/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /#######/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /#######/wp-admin/user-edit.php(821): do_action('edit_user_profi...', Object(WP_User))
    #5 {main}
    thrown in /#######/wp-content/themes/appthemes-vantage/includes/payments/admin/order-meta.php on line 108, referer: https://search.therobotreport.com/wp-admin/users.php

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Expired Customer simonharding's Avatar
    Join Date
    Jul 2021
    Posts
    115
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  5. #5
    Expired Customer simonharding's Avatar
    Join Date
    Jul 2021
    Posts
    115
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  7. #7
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  8. #8
    Junior Member jmoran's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    27
    Thanks
    3
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Junior Member jmoran's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    27
    Thanks
    3
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,977
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jobroller issue with Update wordpress 4.5 version
    By drsanjay in forum Report JobRoller Bugs
    Replies: 3
    Last Post: April 20th, 2016, 01:07 PM
  2. [SOLVED] GUI alignment issue in version 1.2 - please fix it ASAP
    By davidz101 in forum Discounty
    Replies: 9
    Last Post: January 31st, 2014, 06:37 AM
  3. Spanish Version Issue
    By kabamas26 in forum ClassiPress General Discussion
    Replies: 0
    Last Post: December 16th, 2013, 11:44 AM
  4. Banner issue Last Version of Classipress
    By kbieri85 in forum Ad Stuffer
    Replies: 1
    Last Post: November 7th, 2012, 10:02 PM
  5. Version 3.1.4 issue
    By ronaruba in forum Report ClassiPress Bugs
    Replies: 10
    Last Post: September 7th, 2011, 12:07 PM