• Resolved lic-8008

    (@lic-8008)


    Hi, I just updated the ‘Make’ Theme and the site broke with this error:
    Fatal error: func_get_args(): Can’t be used as a function parameter in /home/content […] + extras.php on line 653

    I got it up working again by re-uploading the previous version of the theme, disabling it (and the child theme I had created) thus getting TwentyFourteen to become the default theme.

    After some checking I could re-allow Make+Child and set them, all worked now.

    It seems something went wrong in the update procedure/files?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same problem here, same message… but I cannot get it to work!!!

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    lic-8008: Everything is working now correct? What modifications had you done in the child theme?

    JPAres1: It may sound like a similar issue but would you mind creating a new thread as there may be some variables that could be different like hosting environment and possible plugins. ??

    Thread Starter lic-8008

    (@lic-8008)

    Yes – all is fine on my end ??

    I can duplicate this post in a new thread too if needed (tell me and I will do) – but really I only customized css-wise – no special functions, PHP or other.

    Active Plugins:
    Enable Media Replace
    Force Regenerate ThumbnailsPreserve Editor Scroll Position
    Preserve Editor Scroll Position
    Rel Nofollow Checkbox
    Remove Widget Titles
    Shortcodes Ultimate
    Welcome to WordPress — plugin by godaddy economy hosted website (not managed) — Optimal configuration and additional help for your WordPress site. This was installed when the account was setup.
    Wordfence Security

    Thread Starter lic-8008

    (@lic-8008)

    ps: I didn’t use the Welcome to wordpress plugin, not needed. Just left it there, ‘dormant’.

    Thread Starter lic-8008

    (@lic-8008)

    PS: for the previous user who couldn’t solve the problem:

    • I used FileZilla and connected via FTP to re-upload the old theme.
      It’s probably possible in other ways, I just like using Filezilla.
    • Then I renamed the folders in Filzilla, so wordpress understood they where ‘broken themes’
    • This activated the default theme so I could chck the site. It worked!
    • After checking, I gave back the true names for Make and Make child – keeping the earlier Make version (i.e. I cancelled the update this way)

    And everything was then back to normal, until the update problem gets solved.

    I hope this helps you!

    Thanks for creating this thread.

    I also had a problem with upgrading to Make 1.3.0.

    My site would not load after the upgrade.

    I reverted back to 1.2.2 through FTP to fix the problem.

    Download Make 1.2.2, unzip, upload and replace Make 1.3.0.

    https://www.ads-software.com/themes/download/make.1.2.2.zip

    Hope this helps.

    Hey all!

    So sorry for this issue!

    We’ve patch the theme and pushed the fix. When the Theme Review Team is able to review the theme, the fix will be available.

    This issue only affects users running WordPress on PHP 5.2.

    If you want to fix it manually, it’s quite easy:

    1. Open inc/extras.php
    2. Locate the function “ttfmake_backcompat_filter()” on line 651
    3. Change the function from:

    function ttfmake_backcompat_filter() {
    	$filter = 'ttf' . current_filter();
    	return apply_filters_ref_array( $filter, func_get_args());
    }

    to

    function ttfmake_backcompat_filter() {
    	$filter = 'ttf' . current_filter();
    	$args   = func_get_args();
    	return apply_filters_ref_array( $filter, $args );
    }

    Again, we are really sorry for this. It will all be resolved soon.

    Hi all!

    Version 1.3.1 has just hit the theme repository. This issue should now be resolved. Thank you for your patience while we fixed this and sorry for any problems that this caused you.

    Hi all, thank you for your posts and replies to our common problem following updates.
    My problem is I can not log on WordPress on my website :

    https://www.eleveurdetalents.com/wp-login.php.

    How could I enter in it, my website is only online.
    Thank you for your help.

    Please find the error sentence “Fatal error: func_get_args(): Can’t be used as a function parameter in /homepages/6/d369743554/htdocs/wsb6027379204/wp-content/themes/make/inc/extras.php on line 653”

    Regards.
    Benjamin

    Zack,

    I updated to Make 1.3.1, however, I’m still experiencing problems – site will not load after update.

    I am running PHP 5.4, but to get my site to normal I had to revert to Make 1.2.2, again.

    I’ll clear the cache and try updating to 1.3.1 to see if that helps.

    Actually my error was around line 700 in the theme. I made a similar fix as follow.

    Original:

    function ttfmake_backcompat_action() {
    	$action = 'ttf' . current_action();
    	do_action_ref_array( $action, func_get_args() );
    }

    New:

    function ttfmake_backcompat_action() {
    	$action = 'ttf' . current_action();
    	$args = func_get_args();
    	do_action_ref_array( $action, $args );
    }

    The prior fix shown above was already in place. I changed this bit of code, and the theme is back to working perfectly.

    Hi all!

    We are really truly sorry for these issues. We did fix the initial issue, but unfortunately, there was another issue that we were not aware of until 1.3.1 went live.

    We have patched the second issue and the new version of the theme is pending review. It should be available shortly.

    For those who want to patch this immediately, Rudy64’s fix is exactly the right way to do it.

    Again, we are really sorry for these issues. I will let you know when 1.3.2 is available.

    Hi all!

    Just wanted to let you know that Make 1.3.2 is now available and should fix this fatal error once and for all. If you have any more issues, please let us know and we will get right on it.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Make theme update breaks site (alert)’ is closed to new replies.