Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings when no release data is found #34

Open
minorOffense opened this issue Jun 18, 2014 · 2 comments
Open

Fix warnings when no release data is found #34

minorOffense opened this issue Jun 18, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@minorOffense
Copy link
Member

Warning: get_class() expects parameter 1 to be object, string given in FeatureServerProjectXMLFormatter->render() (line 10 of /var/www/html/app/profiles/dropfort_profile/modules/custom/fserver/fserver_services/fserver_services.inc).
Jun 18 06:14:17 local drupal: http://localhost|1403097257|php|::1|http://localhost/fserver/release-history/views/7.x||0||Warning: Unknown class passed as parameter in FeatureServerProjectXMLFormatter->render() (line 10 of /var/www/html/app/profiles/dropfort_profile/modules/custom/fserver/fserver_services/fserver_services.inc).
Jun 18 06:14:17 local drupal: http://localhost|1403097257|php|::1|http://localhost/fserver/release-history/views/7.x||0||Warning: get_class() expects parameter 1 to be object, string given in FeatureServerProjectXMLFormatter->render() (line 10 of /var/www/html/app/profiles/dropfort_profile/modules/custom/fserver/fserver_services/fserver_services.inc).
Jun 18 06:14:17 local drupal: http://localhost|1403097257|php|::1|http://localhost/fserver/release-history/views/7.x||0||Warning: Unknown class passed as parameter in FeatureServerProjectXMLFormatter->render() (line 10 of /var/www/html/app/profiles/dropfort_profile/modules/custom/fserver/fserver_services/fserver_services.inc).
@minorOffense
Copy link
Member Author

This should be simple enough to figure out by just reading the code. Add an is_object or isset somewhere.

@minorOffense minorOffense added this to the v1.0 milestone Aug 20, 2014
@frederickjh
Copy link

Warning: get_class() expects parameter 1 to be object, string given in FeatureServerProjectXMLFormatter->render() (line 10 of /var/www/html/app/profiles/dropfort_profile/modules/custom/fserver/fserver_services/fserver_services.inc).

This error is also in #47 and in #39

@minorOffense minorOffense assigned ClassicCut and unassigned sjpeters79 Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants