• I have a wordpress based ecommerce (woocommerce) website which is causing trouble with PHP 7.x.x

    So the website used to be worked fine on PHP 5.6 but after upgrading to PHP 7, My theme gets broke in a way that Theme Options are totally unresponsive at the backend of wordpress (Clicking on any theme option tab just doesn’t work, every tab under theme options is unclickable e.g. General Settings, Header Settings etc).
    And if i enable PHP Error reporting, i can see PHP warning at backend Theme Options page. Below is the error/warning.

    Warning: A non-numeric value encountered in /home/silkroa2/public_html/wp-content/themes/barberry/framework/ReduxCore/framework.php on line 3073

    And here is what line 3073 looks like
    $subsections = ( isset ( $sections[ ( $k + 1 ) ] ) && isset ( $sections[ ( $k + 1 ) ]['subsection'] ) && $sections[ ( $k + 1 ) ]['subsection'] == true ) ? true : false;

    A couple of other problems can be seen at frontend as below;
    1- Cart icon in header/navigation menu is supposed to expand showing options to view cart or checkout when hovering the mouse or clicking it, but it is just unresponsive as hovering or clicking doesn’t do anything.
    2- On FAQs page, each question was clickable to expand and show the answer but clicking on question is not expanding.

    I am guessing that both frontend and backend problems are relevant as both issues appeared after upgrading the PHP.

    I am not a coder but can copy paste the coding lines with some help. Any kind of help would be really appreciated. If it is an issue which needs to modify multiple files, i am willing to hire an expert if it won’t cost much.

    Screenshots:
    Backend Theme options: https://filebin.net/aibeax4dwnqdkhcr/Screenshot_15.jpg?t=3xgyhngn

    Warning line 3073: https://filebin.net/aibeax4dwnqdkhcr/Screenshot_16.jpg?t=3xgyhngn

    Cart/Shopping bag icon: https://filebin.net/aibeax4dwnqdkhcr/Screenshot_17.jpg?t=3xgyhngn

    FAQs page: https://filebin.net/aibeax4dwnqdkhcr/Screenshot_18.jpg?t=3xgyhngn

    • This topic was modified 4 years, 6 months ago by Yui.
    • This topic was modified 4 years, 6 months ago by Yui. Reason: redundant link(s) deleted

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Yui

    (@fierevere)

    永子

    You are using outdated commercial theme.

    Your version – 1.8.6
    last theme version – 2.6, last update September 5, 2020

    You have to update your theme.
    https://themeforest.net/item/barberry-modern-woocommerce-theme/22802919

    Thread Starter Yariz Kane

    (@aariz4some1)

    Thanks for the reply yui,

    Actually the author has abandoned the theme and released a new theme with the same name in version 2 which is based on some other framework and it is entirely a new theme.
    While i want to keep the looks of this current (old) theme. I have already asked for the assistance from theme author he’s saying he won’t be able to help with it as it was deleted from envato years ago.

    He advised me to hire someone to make the old theme compatible with newer versions of PHP, WordPress & Woocommerce.

    Can someone tell how much should be the cost for this modifications in theme. Maybe i will hire some expert to get it done.

    Thank you!

    Moderator Yui

    (@fierevere)

    永子

    Please try https://jobs.wordpress.net/ or https://jetpack.pro/ and do not accept any hire offers posted to these forums.

    Supporting old theme can be pain.
    If i would be in such situation, i’d better look for another theme.
    You can also hire someone to help you with migration (if your site been heavily customized), or you can try yourself.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrading to PHP7 breaks the theme’ is closed to new replies.