Jump to content

call_user_func_array() expects parameter 1 to be a valid callback


Recommended Posts

Hello, When I Click on Bid flight, I Get this error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Schedules’ does not have a method ‘viewaction.php’ in /home/vol8_3/epizy********/norwegianairvirtualcc.rf.gd/htdocs/core/classes/MainController.class.php on line 218.


Thanks:DFE9E6A5-8AA1-4336-96DE-1D655EE0B7C2.thumb.jpeg.e965e7ed04740383c921adf5b1a19068.jpeg

Link to post
Share on other sites
  • Administrators

Revert to default skin and try again.

Does it work or do you get the same error?

 

phpVMS version?

PHP version?

MySQL or MariaDB version?

What skin are you using?

Link to post
Share on other sites
  • Administrators

Suggest you contact your hosting company and ask them what MySQL or MariaDB version you are using.

Are you using paid or free hosting?

 

The Warning is basically saying that the Schedules module does have the method "viewaction.php".

No idea how or why you are calling that. The default Schedules files do not contain that method. There is a "view" call - but no "viewaction.php". Are you attempting to display schedule search results?

  • Like 1
Link to post
Share on other sites
  • Administrators

Free hosting always causes issues. Free hosts limit access to certain required items.

If you are serious about your VA, get paid hosting. If you are just setting up your VA for testing, use WAMP or XXAMP running on a local machine.

 

Look in /core/common/SchedulesData.class.php and /core/modules/Schedules/Schedules.php. one of those files should have a "view" function in it.

  • Like 1
Link to post
Share on other sites
  • Administrators

Free hosting puts limits on required PHP functions and other stuff. It's free for a reason - very basic function.

 

If you are serious about running a VA and want to attract quality pilots and staff, free hosting isn't going to get you there. If you don't want to spend the money, think about joining one of the many quality VA's already established.

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...