Skip to content
Guest Big Announcement

Theos error: Experimental shift on scalar is now forbidden

Featured Replies

==> Preprocessing Tweak.xm…

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 107, near "$args;"

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 108, near "$args;"

Compilation failed in require at (eval 9) line 1.

BEGIN failed--compilation aborted at (eval 9) line 1.

 at /var/theos/bin/logos.pl line 22.

BEGIN failed--compilation aborted at /var/theos/bin/logos.pl line 22.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:265: /var/mobile/test4/.theos/obj/arm64/Tweak.xm.mm] Error 255

rm /var/mobile/test4/.theos/obj/arm64/Tweak.xm.mm

==> Preprocessing Tweak.xm…

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 107, near "$args;"

Experimental shift on scalar is now forbidden at /private/var/theos/vendor/logos/bin/lib/Logos/Group.pm line 108, near "$args;"

Compilation failed in require at (eval 9) line 1.

BEGIN failed--compilation aborted at (eval 9) line 1.

 at /var/theos/bin/logos.pl line 22.

BEGIN failed--compilation aborted at /var/theos/bin/logos.pl line 22.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:265: /var/mobile/test4/.theos/obj/armv7/Tweak.xm.mm] Error 255

rm /var/mobile/test4/.theos/obj/armv7/Tweak.xm.mm

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/test4/.theos/obj/armv7/test4.dylib] Error 2

make[2]: *** Waiting for unfinished jobs....

make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/test4/.theos/obj/arm64/test4.dylib] Error 2

make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2

make: *** [/var/theos/makefiles/master/rules.mk:111: test4.all.tweak.variables] Error 2

 

 

 

I used default tweak.xm in iOSGods tweak patcher v3.1

Beside,I’m using theosinstaller to install Theos.

I got error.

How can I fix it?

Thanks!!!!!!

Updated by Alan_016878
Forgot something

Try export THEOS=/var/theos then run the commands

Updated by Soud3mk501

  • Author
22 minutes ago, Soud3mk501 said:

Try export THEOS=/var/theos then run the commands

both

Same error QQ

Open $THEOS/vendor/logos/bin/lib/Logos/Group.pm with a text editor

Replace

    my $functionRetval = shift $args;

    my $functionName = shift $args;

With

 

    my $functionRetval = shift @{$args};

    my $functionName = shift @{$args};

afaik this is an issue with new versions of perl

Same Error :c

Updated by Taiminelchino

  • Author
6 hours ago, level3tjg said:

Open $THEOS/vendor/logos/bin/lib/Logos/Group.pm with a text editor

Replace

    my $functionRetval = shift $args;

    my $functionName = shift $args;

With

 

    my $functionRetval = shift @{$args};

    my $functionName = shift @{$args};

afaik this is an issue with new versions of perl

both

Thanks!!!!!!

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.