AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: macat on April 05, 2022, 12:26:07 PM

Title: Can't add menu item in admin
Post by: macat on April 05, 2022, 12:26:07 PM
I click on the + to add an item to the menu in admin it goes to a blank page, any ideas how to fix?

I did remove the redirect I had that went to https://www.creativepaw.org so that it doesn't use the www (changed in admin too and cleared cache), that did fix my not being able to see my products menu in the mobile version but still can't add to the menu in admin, goes to blank page, see screenshots.

I can add products categories just nothing to the menu under Home tab.  Is that just not possible?
Title: Re: Can't add menu item in admin
Post by: Basara on April 06, 2022, 01:36:24 AM
Hello.
After you see the white screen should be new error in the AbanteCart error log (or server log)
Title: Re: Can't add menu item in admin
Post by: macat on April 06, 2022, 12:34:44 PM
PS, I installed via cPanel scripts
Error below, I have no idea what that means or how to fix it??
The line it specifies is this:

public function get_resources_scripts(   (this is line 1447)
        $object_name,
        $object_id,
        $types,
        $onload = true,
        $mode = '',
        $page = 1,
        $limit = 18,
        $sort = null,
        $order = 'ASC'
    )

This is the error:
2022-04-06 16:28:04 - Unknown Error:  AbanteCart core v.1.3.2 ControllerResponsesCommonResourceLibrary::get_resources_scripts(): Argument #2 ($object_id) not passed in <b>/home/creatpaw/public_html/store/admin/controller/responses/common/resource_library.php</b> on line <b>1447</b>


Hello.
After you see the white screen should be new error in the AbanteCart error log (or server log)
Title: Re: Can't add menu item in admin
Post by: abolabo on April 07, 2022, 05:56:33 AM
i guess issue related to php 8.1.
You should to use php7.4  for abantecart v1.3.2.
Or use our current development version 1.3.3 (https://github.com/abantecart/abantecart-src/tree/1.3.3)