• I recently move my client website from one domain to another , it show “Parse error: syntax error, unexpected T_FUNCTION in /home/dezinet/public_html/mia/wp-content/themes/wprentals/libs/resources/class.iCalReader.php on line 421 “

    at line # 421 is have this code.

    $is_excluded = array_filter($anEvent[‘EXDATE_array’], function($val) use ($search_date) { return is_string($val) && strpos($search_date, $val) === 0; });

Viewing 9 replies - 1 through 9 (of 9 total)
  • Looks like you have a problem in your currently active theme. Try uploading a fresh copy of the theme to wp-content/themes using FTP.

    Thread Starter Nouman khan

    (@nouman-khan)

    Thanks for reply esmi, I did not have backup from FTP and my client do not have access to ftp or cpanel. she only have wordpress admin access. I download the site using Duplicator plugin ,at local system its working fine but at server it show above message. Can you help with this.

    I’m sorry but you will need to FTP into your site (or use whatever file management application your host provides) & delete/rename the wp-content/themes/wprentals. Then upload a fresh copy of the theme. There’s no other way around this.

    Thread Starter Nouman khan

    (@nouman-khan)

    can you help me with downloading themes file with using FTP or Cpanel

    We cannot help with with setting up FTP beyond the information in the page I linked to above. You will need to contact your hosts to obtain your FTP login credentials.

    Thread Starter Nouman khan

    (@nouman-khan)

    I use file manager plugin and download the effected file . its also show the same error at same line ? any help

    You need to UPLOAD a fresh copy of the theme.

    Thread Starter Nouman khan

    (@nouman-khan)

    I uploaded fresh copy but still the same error.. I purcahse theme again and uploaded to fresh server but still i get this T_function error

    Moderator James Huff

    (@macmanx)

    Then it sounds like the problem is definitely with the theme specifically, perhaps it doesn’t support the version of PHP running on the new server.

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best.

    https://support.wpestate.org/login/

    Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘T_function error when website move to another domain.’ is closed to new replies.