maindenis
maindenis

Reputation: 17

I can't deploy the site on the hosting after localhost via Duplicator

Gives this error

Screen

После разворачивания Duplicator показывает такие ошибки

files

Here is the text from the screenshots

SCRIPT FILE TEST: /home/g/genado6g/udv.webmolot.pro/public_html/index.php

EXCEPTION Cannot access offset of type string on string
  FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-content/themes/udv/footer.php[27]
  --- TRACE ---
  FUNCTION: require_once                  FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-includes/template.php[810]
  FUNCTION: load_template                 FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-includes/template.php[745]
  FUNCTION: locate_template               FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-includes/general-template.php[92]
  FUNCTION: get_footer                    FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-content/themes/udv/index.php[245]
  FUNCTION: include                       FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-includes/template-loader.php[106]
  FUNCTION: require_once                  FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-blog-header.php[19]
  FUNCTION: require                       FILE: /home/g/genado6g/udv.webmolot.pro/public_html/index.php[17]
  FUNCTION: require_once                  FILE: /home/g/genado6g/udv.webmolot.pro/public_html/wp-content/wp_test_script_bef17e1-03023858.php[117]

How can I solve this problem?

Upvotes: -1

Views: 32

Answers (1)

Pablo Ripoll
Pablo Ripoll

Reputation: 21

Try to install a minor version of PHP (for e.g. 8.0) as migrating from 7.4 to 8.4 you most probably would come up with code deprecated functions and features. https://www.php.net/releases/8.4/en.php

Maybe you can try with this Wordpress repositorywith PHP 8.3: https://github.com/pabloripoll/docker-wordpress-6.4-php-8

Upvotes: 2

Related Questions